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
- StorageEntityTypeMapping.cs
- _FtpControlStream.cs
- NamespaceCollection.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- SwitchAttribute.cs
- TripleDES.cs
- PropertyRef.cs
- FontNamesConverter.cs
- SiteMapProvider.cs
- NetworkInformationException.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- SafeHandle.cs
- HandlerWithFactory.cs
- XmlSubtreeReader.cs
- XmlnsDefinitionAttribute.cs
- XmlElementAttributes.cs
- UriWriter.cs
- Main.cs
- DockProviderWrapper.cs
- HwndKeyboardInputProvider.cs
- ProxyGenerationError.cs
- ContentPresenter.cs
- SpellerInterop.cs
- MaskedTextBox.cs
- NamedPipeTransportManager.cs
- ApplicationContext.cs
- QuaternionValueSerializer.cs
- PropertyIdentifier.cs
- Rules.cs
- SectionVisual.cs
- AnnouncementDispatcherAsyncResult.cs
- DrawListViewSubItemEventArgs.cs
- SqlUtil.cs
- ComponentResourceKey.cs
- updatecommandorderer.cs
- XslAstAnalyzer.cs
- AuthStoreRoleProvider.cs
- EntityReference.cs
- Events.cs
- StaticDataManager.cs
- HtmlInputCheckBox.cs
- EntityWrapper.cs
- TextSpanModifier.cs
- HtmlInputCheckBox.cs
- StrongNameIdentityPermission.cs
- XmlCharCheckingReader.cs
- DetailsViewDesigner.cs
- CapacityStreamGeometryContext.cs
- FixedDSBuilder.cs
- FormatException.cs
- ObjectTypeMapping.cs
- PreProcessor.cs
- SizeConverter.cs
- HtmlSelect.cs
- ToolZoneDesigner.cs
- FontFamilyConverter.cs
- IFlowDocumentViewer.cs
- DataGridViewRow.cs
- X509Certificate2.cs
- RequestCacheManager.cs
- WrappedDispatcherException.cs
- VisualStyleInformation.cs
- SwitchLevelAttribute.cs
- Vector3DIndependentAnimationStorage.cs
- WriteFileContext.cs
- DataChangedEventManager.cs
- DataIdProcessor.cs
- Delay.cs
- SearchForVirtualItemEventArgs.cs
- DockEditor.cs
- TimeoutConverter.cs
- Section.cs
- CroppedBitmap.cs
- StrokeCollectionDefaultValueFactory.cs
- XmlFileEditor.cs
- SplitterPanelDesigner.cs
- EditorBrowsableAttribute.cs
- SafeRegistryHandle.cs
- Viewport2DVisual3D.cs
- ExpressionTable.cs
- XPathEmptyIterator.cs
- XmlUtf8RawTextWriter.cs
- LocatorPart.cs
- XmlDeclaration.cs
- Vector3D.cs
- ContainerFilterService.cs
- XPathParser.cs
- BaseAppDomainProtocolHandler.cs
- XmlSchemaCompilationSettings.cs
- HtmlDocument.cs
- FormViewDeletedEventArgs.cs
- WindowsSpinner.cs
- XPathException.cs
- cache.cs
- SourceElementsCollection.cs
- UpdatePanelTriggerCollection.cs
- RegisteredHiddenField.cs
- SqlDataRecord.cs
- DispatcherEventArgs.cs
- EndpointFilterProvider.cs