Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / CollectionDataContractAttribute.cs / 1305376 / CollectionDataContractAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)] public sealed class CollectionDataContractAttribute : Attribute { string name; string ns; string itemName; string keyName; string valueName; bool isReference; bool isNameSetExplicit; bool isNamespaceSetExplicit; bool isReferenceSetExplicit; bool isItemNameSetExplicit; bool isKeyNameSetExplicit; bool isValueNameSetExplicit; public CollectionDataContractAttribute() { } public string Namespace { get { return ns; } set { ns = value; isNamespaceSetExplicit = true; } } internal bool IsNamespaceSetExplicit { get { return isNamespaceSetExplicit; } } public string Name { get { return name; } set { name = value; isNameSetExplicit = true; } } internal bool IsNameSetExplicit { get { return isNameSetExplicit; } } public string ItemName { get { return itemName; } set { itemName = value; isItemNameSetExplicit = true; } } internal bool IsItemNameSetExplicit { get { return isItemNameSetExplicit; } } public string KeyName { get { return keyName; } set { keyName = value; isKeyNameSetExplicit = true; } } public bool IsReference { get { return isReference; } set { isReference = value; isReferenceSetExplicit = true; } } internal bool IsReferenceSetExplicit { get { return isReferenceSetExplicit; } } internal bool IsKeyNameSetExplicit { get { return isKeyNameSetExplicit; } } public string ValueName { get { return valueName; } set { valueName = value; isValueNameSetExplicit = true; } } internal bool IsValueNameSetExplicit { get { return isValueNameSetExplicit; } } } } // 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
- TextHidden.cs
- TemplateComponentConnector.cs
- DesignerDeviceConfig.cs
- WindowsToolbarItemAsMenuItem.cs
- VectorCollection.cs
- ArrayTypeMismatchException.cs
- EntityPropertyMappingAttribute.cs
- BrowserDefinitionCollection.cs
- TextChangedEventArgs.cs
- DataGridColumnStyleMappingNameEditor.cs
- SafeRightsManagementHandle.cs
- TraceHandler.cs
- InvalidWMPVersionException.cs
- TdsParserStateObject.cs
- HtmlEncodedRawTextWriter.cs
- XmlNullResolver.cs
- MediaElementAutomationPeer.cs
- ViewGenerator.cs
- SqlAliaser.cs
- XmlSchemaNotation.cs
- DynamicValidatorEventArgs.cs
- GifBitmapEncoder.cs
- UIElementParaClient.cs
- ColorMap.cs
- BigInt.cs
- EventLogger.cs
- TitleStyle.cs
- TextSearch.cs
- InstanceOwnerQueryResult.cs
- Vector3DCollectionConverter.cs
- FolderBrowserDialog.cs
- PartialList.cs
- InvokeCompletedEventArgs.cs
- HostedHttpTransportManager.cs
- ObjectQuery.cs
- TcpStreams.cs
- Vector3DCollectionConverter.cs
- AccessDataSourceView.cs
- HostProtectionPermission.cs
- arabicshape.cs
- CacheOutputQuery.cs
- ObjectParameterCollection.cs
- BufferModesCollection.cs
- ContractCodeDomInfo.cs
- SuppressMergeCheckAttribute.cs
- RtType.cs
- DataGridViewToolTip.cs
- DbDataReader.cs
- OleDbConnectionFactory.cs
- precedingquery.cs
- TextElementCollectionHelper.cs
- infer.cs
- ProgressBar.cs
- GroupDescription.cs
- Transform3D.cs
- SizeFConverter.cs
- RelatedCurrencyManager.cs
- PartBasedPackageProperties.cs
- PropertyConverter.cs
- DomNameTable.cs
- TablePatternIdentifiers.cs
- TextLine.cs
- DeclaredTypeValidator.cs
- DescendantBaseQuery.cs
- AnnotationMap.cs
- DesignerActionItemCollection.cs
- VariableQuery.cs
- ADMembershipUser.cs
- DataPagerFieldCollection.cs
- ChangeToolStripParentVerb.cs
- StrokeIntersection.cs
- MergeFilterQuery.cs
- ImageConverter.cs
- FilterQueryOptionExpression.cs
- DataGridViewAccessibleObject.cs
- FileRecordSequenceHelper.cs
- List.cs
- ConnectionManagementElementCollection.cs
- DataStorage.cs
- FixedSchema.cs
- XmlAnyAttributeAttribute.cs
- DurableErrorHandler.cs
- FormDocumentDesigner.cs
- PerspectiveCamera.cs
- FollowerQueueCreator.cs
- CalendarDay.cs
- RuleProcessor.cs
- ArrayList.cs
- ReferentialConstraint.cs
- SatelliteContractVersionAttribute.cs
- StringWriter.cs
- ScriptModule.cs
- GridErrorDlg.cs
- PrimaryKeyTypeConverter.cs
- SupportsPreviewControlAttribute.cs
- SqlDataSourceView.cs
- ArcSegment.cs
- ApplicationSecurityInfo.cs
- StaticSiteMapProvider.cs
- SemanticResolver.cs