Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / Json / JsonGlobals.cs / 1305376 / JsonGlobals.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime.Serialization.Json { using System.Runtime.Serialization; using System.Xml; using System.Security; using System.Reflection; static class JsonGlobals { [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly int DataContractXsdBaseNamespaceLength = Globals.DataContractXsdBaseNamespace.Length; [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly XmlDictionaryString dDictionaryString = new XmlDictionary().Add("d"); [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly char[] floatingPointCharacters = new char[] { '.', 'e' }; [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly XmlDictionaryString itemDictionaryString = new XmlDictionary().Add("item"); [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly XmlDictionaryString rootDictionaryString = new XmlDictionary().Add("root"); [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly long unixEpochTicks = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).Ticks; public const string applicationJsonMediaType = "application/json"; public const string arrayString = "array"; public const string booleanString = "boolean"; public const string CacheControlString = "Cache-Control"; public const byte CollectionByte = (byte) CollectionChar; public const char CollectionChar = '['; public const string DateTimeEndGuardReader = ")/"; public const string DateTimeEndGuardWriter = ")\\/"; public const string DateTimeStartGuardReader = "/Date("; public const string DateTimeStartGuardWriter = "\\/Date("; public const string dString = "d"; public const byte EndCollectionByte = (byte) EndCollectionChar; public const char EndCollectionChar = ']'; public const byte EndObjectByte = (byte) EndObjectChar; public const char EndObjectChar = '}'; public const string ExpiresString = "Expires"; public const string IfModifiedSinceString = "If-Modified-Since"; public const string itemString = "item"; public const string jsonerrorString = "jsonerror"; public const string KeyString = "Key"; public const string LastModifiedString = "Last-Modified"; public const int maxScopeSize = 25; public const byte MemberSeparatorByte = (byte) MemberSeparatorChar; public const char MemberSeparatorChar = ','; public const byte NameValueSeparatorByte = (byte) NameValueSeparatorChar; public const char NameValueSeparatorChar = ':'; public const string NameValueSeparatorString = ":"; public const string nullString = "null"; public const string numberString = "number"; public const byte ObjectByte = (byte) ObjectChar; public const char ObjectChar = '{'; public const string objectString = "object"; public const string publicString = "public"; public const byte QuoteByte = (byte) QuoteChar; public const char QuoteChar = '"'; public const string rootString = "root"; public const string serverTypeString = "__type"; public const string stringString = "string"; public const string textJsonMediaType = "text/json"; public const string trueString = "true"; public const string typeString = "type"; public const string ValueString = "Value"; public const char WhitespaceChar = ' '; public const string xmlnsPrefix = "xmlns"; public const string xmlPrefix = "xml"; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime.Serialization.Json { using System.Runtime.Serialization; using System.Xml; using System.Security; using System.Reflection; static class JsonGlobals { [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly int DataContractXsdBaseNamespaceLength = Globals.DataContractXsdBaseNamespace.Length; [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly XmlDictionaryString dDictionaryString = new XmlDictionary().Add("d"); [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly char[] floatingPointCharacters = new char[] { '.', 'e' }; [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly XmlDictionaryString itemDictionaryString = new XmlDictionary().Add("item"); [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly XmlDictionaryString rootDictionaryString = new XmlDictionary().Add("root"); [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - Static fields are marked SecurityCritical or readonly to prevent" + " data from being modified or leaked to other components in appdomain.")] public static readonly long unixEpochTicks = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).Ticks; public const string applicationJsonMediaType = "application/json"; public const string arrayString = "array"; public const string booleanString = "boolean"; public const string CacheControlString = "Cache-Control"; public const byte CollectionByte = (byte) CollectionChar; public const char CollectionChar = '['; public const string DateTimeEndGuardReader = ")/"; public const string DateTimeEndGuardWriter = ")\\/"; public const string DateTimeStartGuardReader = "/Date("; public const string DateTimeStartGuardWriter = "\\/Date("; public const string dString = "d"; public const byte EndCollectionByte = (byte) EndCollectionChar; public const char EndCollectionChar = ']'; public const byte EndObjectByte = (byte) EndObjectChar; public const char EndObjectChar = '}'; public const string ExpiresString = "Expires"; public const string IfModifiedSinceString = "If-Modified-Since"; public const string itemString = "item"; public const string jsonerrorString = "jsonerror"; public const string KeyString = "Key"; public const string LastModifiedString = "Last-Modified"; public const int maxScopeSize = 25; public const byte MemberSeparatorByte = (byte) MemberSeparatorChar; public const char MemberSeparatorChar = ','; public const byte NameValueSeparatorByte = (byte) NameValueSeparatorChar; public const char NameValueSeparatorChar = ':'; public const string NameValueSeparatorString = ":"; public const string nullString = "null"; public const string numberString = "number"; public const byte ObjectByte = (byte) ObjectChar; public const char ObjectChar = '{'; public const string objectString = "object"; public const string publicString = "public"; public const byte QuoteByte = (byte) QuoteChar; public const char QuoteChar = '"'; public const string rootString = "root"; public const string serverTypeString = "__type"; public const string stringString = "string"; public const string textJsonMediaType = "text/json"; public const string trueString = "true"; public const string typeString = "type"; public const string ValueString = "Value"; public const char WhitespaceChar = ' '; public const string xmlnsPrefix = "xmlns"; public const string xmlPrefix = "xml"; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MultipartIdentifier.cs
- LowerCaseStringConverter.cs
- DateTimeFormatInfoScanner.cs
- SQLMoney.cs
- NonDualMessageSecurityOverHttpElement.cs
- EntityDescriptor.cs
- BaseConfigurationRecord.cs
- Pen.cs
- QilFactory.cs
- SoapCodeExporter.cs
- DetailsView.cs
- IndexedWhereQueryOperator.cs
- CustomValidator.cs
- RepeaterItemEventArgs.cs
- GeometryModel3D.cs
- DummyDataSource.cs
- OdbcErrorCollection.cs
- RangeBase.cs
- ReadOnlyDataSource.cs
- SafeNativeMemoryHandle.cs
- ErrorHandlerFaultInfo.cs
- TreeNodeMouseHoverEvent.cs
- FixedDocumentSequencePaginator.cs
- HttpRuntimeSection.cs
- MediaElement.cs
- BinaryFormatter.cs
- AuthStoreRoleProvider.cs
- MetadataException.cs
- RegexRunnerFactory.cs
- ServiceNotStartedException.cs
- PropertyGridEditorPart.cs
- LeaseManager.cs
- GeneralTransform3DTo2DTo3D.cs
- PersonalizationProviderCollection.cs
- DataGridClipboardCellContent.cs
- RuntimeWrappedException.cs
- IResourceProvider.cs
- SystemGatewayIPAddressInformation.cs
- TrustManagerMoreInformation.cs
- WarningException.cs
- COM2FontConverter.cs
- CellCreator.cs
- UseManagedPresentationBindingElementImporter.cs
- AttributeConverter.cs
- SchemaSetCompiler.cs
- Serializer.cs
- SystemIPInterfaceProperties.cs
- SelectorAutomationPeer.cs
- SetStateEventArgs.cs
- UpDownEvent.cs
- SqlDataReader.cs
- _ChunkParse.cs
- xamlnodes.cs
- UserMapPath.cs
- MaskInputRejectedEventArgs.cs
- DataGridViewDataErrorEventArgs.cs
- QueryGenerator.cs
- AttributeProviderAttribute.cs
- ToolStripControlHost.cs
- GridViewRowCollection.cs
- XamlPoint3DCollectionSerializer.cs
- XmlSchemaObjectTable.cs
- OdbcError.cs
- XmlNode.cs
- XPathNavigatorReader.cs
- XmlCountingReader.cs
- SettingsPropertyCollection.cs
- TiffBitmapDecoder.cs
- HyperLink.cs
- ScrollData.cs
- ValidationError.cs
- SmtpReplyReader.cs
- FontFamily.cs
- TouchPoint.cs
- XmlSchemaExporter.cs
- TableRow.cs
- IntegerCollectionEditor.cs
- HostExecutionContextManager.cs
- PopupRoot.cs
- DynamicPropertyHolder.cs
- XmlComment.cs
- MethodSignatureGenerator.cs
- PageAdapter.cs
- FileAuthorizationModule.cs
- CompilerHelpers.cs
- ExpressionWriter.cs
- WinInet.cs
- XsltInput.cs
- SafeLocalAllocation.cs
- Rectangle.cs
- TextRangeProviderWrapper.cs
- WebPartUtil.cs
- DSASignatureDeformatter.cs
- PointConverter.cs
- EndpointNotFoundException.cs
- FilterException.cs
- FixedBufferAttribute.cs
- MethodSignatureGenerator.cs
- OleDbMetaDataFactory.cs
- ItemType.cs