Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / DataContractAttribute.cs / 1 / DataContractAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)] public sealed class DataContractAttribute : Attribute { string name; string ns; bool isNameSetExplicit; bool isNamespaceSetExplicit; bool isReference; bool isReferenceSetExplicit; public DataContractAttribute() { } public bool IsReference { get { return isReference; } set { isReference = value; isReferenceSetExplicit = true; } } internal bool IsReferenceSetExplicit { get { return isReferenceSetExplicit; } } 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectItemAssemblyLoader.cs
- PageScaling.cs
- PersonalizationEntry.cs
- ConfigurationStrings.cs
- DatagridviewDisplayedBandsData.cs
- LogEntryUtils.cs
- Size3DValueSerializer.cs
- FileDialog_Vista.cs
- _NTAuthentication.cs
- RequestQueue.cs
- RequestBringIntoViewEventArgs.cs
- DiscardableAttribute.cs
- infer.cs
- IDReferencePropertyAttribute.cs
- CodeDomComponentSerializationService.cs
- ChannelEndpointElementCollection.cs
- ConfigurationManager.cs
- DataGridViewRowsAddedEventArgs.cs
- EdmToObjectNamespaceMap.cs
- XmlNavigatorFilter.cs
- WindowsEditBox.cs
- ToolStripStatusLabel.cs
- ErrorCodes.cs
- DataGridViewTextBoxCell.cs
- Types.cs
- TriggerAction.cs
- InProcStateClientManager.cs
- WebRequestModuleElementCollection.cs
- FrameworkContentElementAutomationPeer.cs
- QuaternionValueSerializer.cs
- SapiRecoInterop.cs
- ResourceIDHelper.cs
- HostingEnvironmentSection.cs
- ToolstripProfessionalRenderer.cs
- GeneralTransform3DGroup.cs
- Clause.cs
- DelayLoadType.cs
- FacetValues.cs
- BufferCache.cs
- PerformanceCounters.cs
- ReadWriteSpinLock.cs
- TypeSystemProvider.cs
- PeerTransportListenAddressValidatorAttribute.cs
- RequestUriProcessor.cs
- Label.cs
- BigInt.cs
- FontDialog.cs
- IriParsingElement.cs
- NameValueFileSectionHandler.cs
- SpoolingTask.cs
- InputLangChangeEvent.cs
- ImageDrawing.cs
- SrgsSemanticInterpretationTag.cs
- ToolStripMenuItem.cs
- UpdateCommand.cs
- FixedPageStructure.cs
- ErrorStyle.cs
- VisualTransition.cs
- WinEventTracker.cs
- LinkDesigner.cs
- ComplexTypeEmitter.cs
- DefaultEventAttribute.cs
- RoleGroup.cs
- CounterCreationData.cs
- AppSettingsSection.cs
- WebPartConnection.cs
- XmlRootAttribute.cs
- SqlBuffer.cs
- NativeWrapper.cs
- StrongNameKeyPair.cs
- WebPartEditVerb.cs
- XmlCollation.cs
- RelationshipSet.cs
- StrongName.cs
- QilXmlReader.cs
- KeyedCollection.cs
- DataException.cs
- RelationshipEndCollection.cs
- XmlSchemaCompilationSettings.cs
- ToolBarButton.cs
- EdmSchemaError.cs
- WebBrowserNavigatingEventHandler.cs
- GridViewRowEventArgs.cs
- IPAddress.cs
- DSACryptoServiceProvider.cs
- ApplicationSettingsBase.cs
- MdiWindowListItemConverter.cs
- XmlSerializerVersionAttribute.cs
- RandomNumberGenerator.cs
- HttpAsyncResult.cs
- RecognizedWordUnit.cs
- SolidBrush.cs
- brushes.cs
- MetadataHelper.cs
- MembershipAdapter.cs
- ParallelTimeline.cs
- RadioButtonAutomationPeer.cs
- X509Utils.cs
- ExeContext.cs
- TreeNodeStyleCollection.cs