Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1 / 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
- RadialGradientBrush.cs
- ObjectPropertyMapping.cs
- QueryRewriter.cs
- ListDictionary.cs
- BatchParser.cs
- MulticastNotSupportedException.cs
- TransportElement.cs
- securestring.cs
- PageThemeCodeDomTreeGenerator.cs
- AuthenticationSection.cs
- XmlSchemaRedefine.cs
- StringUtil.cs
- HttpVersion.cs
- EventTrigger.cs
- DataSourceXmlTextReader.cs
- DragEvent.cs
- ScopedMessagePartSpecification.cs
- ParameterBuilder.cs
- OutputCacheSettings.cs
- OptimizedTemplateContentHelper.cs
- SynchronousChannelMergeEnumerator.cs
- DataControlField.cs
- XPathException.cs
- Matrix3D.cs
- FrameworkTextComposition.cs
- RightsManagementUser.cs
- ReferenceEqualityComparer.cs
- GPStream.cs
- TextElement.cs
- IteratorFilter.cs
- FileVersion.cs
- HandledEventArgs.cs
- DataServiceRequestArgs.cs
- MaskInputRejectedEventArgs.cs
- HttpListener.cs
- Calendar.cs
- InvokeGenerator.cs
- PassportAuthenticationEventArgs.cs
- ParameterEditorUserControl.cs
- BamlResourceContent.cs
- SendingRequestEventArgs.cs
- CacheDependency.cs
- DataGridRowHeaderAutomationPeer.cs
- SqlSelectStatement.cs
- ClientBuildManager.cs
- URLString.cs
- HostingEnvironmentSection.cs
- StringSorter.cs
- DataGridViewCellValueEventArgs.cs
- InternalControlCollection.cs
- DataComponentMethodGenerator.cs
- PersonalizationEntry.cs
- ApplicationServiceHelper.cs
- SmtpAuthenticationManager.cs
- WebSysDescriptionAttribute.cs
- CompilerParameters.cs
- BamlTreeNode.cs
- CqlLexerHelpers.cs
- PrivateFontCollection.cs
- HttpCacheVary.cs
- ApplicationCommands.cs
- JavaScriptSerializer.cs
- TreeChangeInfo.cs
- StorageTypeMapping.cs
- SqlNode.cs
- SQLResource.cs
- XmlNodeChangedEventArgs.cs
- MergeFailedEvent.cs
- SmtpReplyReader.cs
- BinaryExpression.cs
- Style.cs
- WebBrowserPermission.cs
- HtmlInputFile.cs
- DescendantOverDescendantQuery.cs
- WebPartDisplayMode.cs
- ToolStripDropTargetManager.cs
- DragDrop.cs
- DataGridViewTextBoxColumn.cs
- FrameworkPropertyMetadata.cs
- ToolStripItemRenderEventArgs.cs
- RestHandlerFactory.cs
- Trace.cs
- TrustManagerMoreInformation.cs
- FieldNameLookup.cs
- SystemWebSectionGroup.cs
- SliderAutomationPeer.cs
- ExtendedPropertyDescriptor.cs
- CustomErrorsSectionWrapper.cs
- CachingHintValidation.cs
- AsyncPostBackTrigger.cs
- Application.cs
- RepeaterCommandEventArgs.cs
- ResponseStream.cs
- XmlDataSourceNodeDescriptor.cs
- StrongNameUtility.cs
- SQLDouble.cs
- IndicShape.cs
- ButtonBase.cs
- TreeNodeBinding.cs
- MsmqTransportSecurity.cs