Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HtmlAnchor.cs
- ContextMenuAutomationPeer.cs
- ImageAttributes.cs
- X509ThumbprintKeyIdentifierClause.cs
- Lease.cs
- SendActivityEventArgs.cs
- MaskedTextProvider.cs
- DataTableReaderListener.cs
- NamedPipeAppDomainProtocolHandler.cs
- ToolBarOverflowPanel.cs
- SqlParameterizer.cs
- UnaryNode.cs
- WorkerRequest.cs
- DirectoryLocalQuery.cs
- KoreanLunisolarCalendar.cs
- HttpErrorTraceRecord.cs
- ListenerServiceInstallComponent.cs
- XmlSchemaComplexContent.cs
- CodeGeneratorOptions.cs
- XPathAncestorQuery.cs
- HighlightVisual.cs
- LinkedResourceCollection.cs
- PerformanceCounterManager.cs
- Merger.cs
- ObjectSet.cs
- GroupItem.cs
- WebPartAddingEventArgs.cs
- WizardForm.cs
- ApplicationServicesHostFactory.cs
- DynamicDataResources.Designer.cs
- BitmapEffectGroup.cs
- DataControlReference.cs
- ByteArrayHelperWithString.cs
- SchemeSettingElementCollection.cs
- NetMsmqBindingElement.cs
- ParentUndoUnit.cs
- SpeechDetectedEventArgs.cs
- SmtpClient.cs
- Int32CollectionConverter.cs
- DataControlImageButton.cs
- MetabaseReader.cs
- MobileControlsSectionHandler.cs
- BCLDebug.cs
- HttpPostedFile.cs
- ToolStrip.cs
- Speller.cs
- CompositionTarget.cs
- WorkflowDataContext.cs
- VersionedStream.cs
- MessageDecoder.cs
- Span.cs
- Animatable.cs
- ArrangedElementCollection.cs
- WindowsListViewScroll.cs
- ExtensionWindow.cs
- StylusPointProperty.cs
- SimplePropertyEntry.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PathFigure.cs
- ConnectionConsumerAttribute.cs
- LessThan.cs
- TransformValueSerializer.cs
- MasterPageBuildProvider.cs
- SqlCommandBuilder.cs
- securitycriticaldataClass.cs
- BamlLocalizer.cs
- TextTreeDeleteContentUndoUnit.cs
- PanningMessageFilter.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- ArrayTypeMismatchException.cs
- RIPEMD160Managed.cs
- XPathExpr.cs
- ValidatorCompatibilityHelper.cs
- DynamicObject.cs
- Int64.cs
- ACL.cs
- PropVariant.cs
- UnionCodeGroup.cs
- PrefixQName.cs
- GridViewHeaderRowPresenter.cs
- SmtpException.cs
- ItemTypeToolStripMenuItem.cs
- BufferedReceiveManager.cs
- ValidationErrorCollection.cs
- ItemsControl.cs
- Button.cs
- WinEventHandler.cs
- hresults.cs
- LicenseException.cs
- WsdlHelpGeneratorElement.cs
- FileSystemEventArgs.cs
- JavaScriptString.cs
- XmlChoiceIdentifierAttribute.cs
- Padding.cs
- CommandSet.cs
- SoapFormatter.cs
- Serializer.cs
- PerformanceCounterCategory.cs
- WindowsFormsDesignerOptionService.cs
- SafeFileHandle.cs