Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1305376 / XmlTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BinaryNode.cs
- XsltException.cs
- VScrollProperties.cs
- WebBrowserNavigatingEventHandler.cs
- SemanticKeyElement.cs
- XmlAttributes.cs
- CreateParams.cs
- SRGSCompiler.cs
- WinInetCache.cs
- HtmlGenericControl.cs
- HashSetDebugView.cs
- DataTemplateSelector.cs
- ListViewContainer.cs
- SecureUICommand.cs
- UmAlQuraCalendar.cs
- Oid.cs
- TextFormattingConverter.cs
- IdentityNotMappedException.cs
- SqlDataReaderSmi.cs
- DesignerVerbCollection.cs
- CodeMemberField.cs
- DetailsViewDeleteEventArgs.cs
- serverconfig.cs
- SignedXml.cs
- GeneralTransform3D.cs
- ToolStripItemCollection.cs
- CaseInsensitiveComparer.cs
- LinkArea.cs
- HostVisual.cs
- securitycriticaldataformultiplegetandset.cs
- BinaryFormatterWriter.cs
- ButtonChrome.cs
- InheritanceContextHelper.cs
- InvalidDataException.cs
- HttpHandlersSection.cs
- MappingMetadataHelper.cs
- TextContainer.cs
- ActivityExecutionContext.cs
- ItemsChangedEventArgs.cs
- D3DImage.cs
- DbMetaDataCollectionNames.cs
- EditorZone.cs
- ApplicationInfo.cs
- PageBuildProvider.cs
- EventItfInfo.cs
- ResourcesChangeInfo.cs
- Switch.cs
- FontUnit.cs
- OutKeywords.cs
- TreeViewAutomationPeer.cs
- Vector3DKeyFrameCollection.cs
- XmlSiteMapProvider.cs
- SupportingTokenListenerFactory.cs
- XmlIlTypeHelper.cs
- StaticExtension.cs
- HiddenField.cs
- Soap.cs
- OutputCacheSettingsSection.cs
- ErrorFormatterPage.cs
- XslCompiledTransform.cs
- ConditionedDesigner.cs
- NotificationContext.cs
- RelationshipEndCollection.cs
- FileDialogCustomPlace.cs
- SqlInternalConnectionSmi.cs
- AspProxy.cs
- ControlOperationInvoker.cs
- PathNode.cs
- HttpClientCredentialType.cs
- XmlSchemaComplexContentExtension.cs
- HttpMethodAttribute.cs
- TraceSection.cs
- ImagingCache.cs
- SudsWriter.cs
- TemplateControlParser.cs
- ValueProviderWrapper.cs
- PointAnimationUsingKeyFrames.cs
- ToolStripPanelRenderEventArgs.cs
- SignatureToken.cs
- MessageAction.cs
- StreamAsIStream.cs
- XmlDocument.cs
- DeadCharTextComposition.cs
- OpenTypeCommon.cs
- EndpointAddress.cs
- MD5CryptoServiceProvider.cs
- ByteRangeDownloader.cs
- Point3DConverter.cs
- RegexGroup.cs
- LinkDesigner.cs
- DataServiceConfiguration.cs
- ResourceWriter.cs
- DocumentOutline.cs
- WebPartCancelEventArgs.cs
- IndexingContentUnit.cs
- Timer.cs
- DesignSurfaceManager.cs
- XmlDesigner.cs
- NetMsmqBinding.cs
- CompilerGlobalScopeAttribute.cs