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
- TextEditorSelection.cs
- ThreadExceptionEvent.cs
- SecurityContextSecurityTokenAuthenticator.cs
- Constants.cs
- OleServicesContext.cs
- ResourceContainer.cs
- RedirectionProxy.cs
- _UncName.cs
- OptimizerPatterns.cs
- WebReferencesBuildProvider.cs
- Config.cs
- RouteCollection.cs
- NetworkAddressChange.cs
- BulletedList.cs
- HiddenFieldPageStatePersister.cs
- IndexedString.cs
- UxThemeWrapper.cs
- XmlValidatingReaderImpl.cs
- PropertyChangedEventArgs.cs
- BaseDataListComponentEditor.cs
- RequiredArgumentAttribute.cs
- DbMetaDataFactory.cs
- DataSourceXmlAttributeAttribute.cs
- DataTableMappingCollection.cs
- Metafile.cs
- SchemaNames.cs
- TransformerTypeCollection.cs
- TextSelection.cs
- Viewport3DAutomationPeer.cs
- DeferredElementTreeState.cs
- Process.cs
- HtmlElementErrorEventArgs.cs
- HashHelper.cs
- BrowserDefinitionCollection.cs
- UriExt.cs
- TransformerTypeCollection.cs
- SoapRpcServiceAttribute.cs
- SerializableAttribute.cs
- LazyTextWriterCreator.cs
- OutputScopeManager.cs
- SemanticBasicElement.cs
- DesignerVerbToolStripMenuItem.cs
- Int16KeyFrameCollection.cs
- PropertyEntry.cs
- PointHitTestResult.cs
- Mouse.cs
- OptimalBreakSession.cs
- Formatter.cs
- SiteMapHierarchicalDataSourceView.cs
- FlowDocumentView.cs
- UpdateTranslator.cs
- DocumentApplication.cs
- DateTimeOffsetAdapter.cs
- SQLMembershipProvider.cs
- OdbcFactory.cs
- UIElementIsland.cs
- ComboBox.cs
- XmlDataSourceView.cs
- User.cs
- TypeConstant.cs
- ParameterRetriever.cs
- WorkflowApplicationCompletedException.cs
- TabPanel.cs
- String.cs
- COAUTHINFO.cs
- Inflater.cs
- StrokeNodeData.cs
- RSAOAEPKeyExchangeDeformatter.cs
- PageBuildProvider.cs
- BaseDataBoundControl.cs
- SmtpMail.cs
- _LocalDataStoreMgr.cs
- DataGridViewElement.cs
- AlphaSortedEnumConverter.cs
- Registry.cs
- ImageIndexEditor.cs
- Point4DConverter.cs
- ContentType.cs
- Primitive.cs
- FormViewActionList.cs
- RemotingConfigParser.cs
- RSAProtectedConfigurationProvider.cs
- PropertyTabChangedEvent.cs
- Grid.cs
- ObjectStateFormatter.cs
- ContextStaticAttribute.cs
- Keyboard.cs
- securitymgrsite.cs
- ConditionCollection.cs
- TemporaryBitmapFile.cs
- NativeMethods.cs
- TemplateBindingExpression.cs
- ContentHostHelper.cs
- LedgerEntryCollection.cs
- TrackingMemoryStreamFactory.cs
- PersonalizableTypeEntry.cs
- BoundField.cs
- XamlGridLengthSerializer.cs
- ItemsChangedEventArgs.cs
- ToolStripItemBehavior.cs