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
- RecordConverter.cs
- BookmarkInfo.cs
- DataGridViewTextBoxColumn.cs
- ImageButton.cs
- EncoderNLS.cs
- DoubleLink.cs
- ValidationErrorCollection.cs
- OptimalTextSource.cs
- UntrustedRecipientException.cs
- XmlCompatibilityReader.cs
- DefaultWorkflowSchedulerService.cs
- ResourceProviderFactory.cs
- BufferModesCollection.cs
- RelationalExpressions.cs
- CodeCompileUnit.cs
- TreePrinter.cs
- TextBlock.cs
- DataSourceCache.cs
- CodeIterationStatement.cs
- FileLogRecord.cs
- WpfWebRequestHelper.cs
- EntityEntry.cs
- ResourceDisplayNameAttribute.cs
- XmlNode.cs
- Preprocessor.cs
- WebMessageEncoderFactory.cs
- MetadataCache.cs
- XmlSerializationReader.cs
- DataGridViewMethods.cs
- TextLine.cs
- VectorKeyFrameCollection.cs
- PageParserFilter.cs
- UpdateCommand.cs
- DescriptionAttribute.cs
- URI.cs
- CacheEntry.cs
- WindowsIPAddress.cs
- TargetException.cs
- XamlPathDataSerializer.cs
- CacheChildrenQuery.cs
- DefaultProxySection.cs
- RefreshPropertiesAttribute.cs
- JsonUriDataContract.cs
- PolicyLevel.cs
- ManagementOperationWatcher.cs
- Crc32.cs
- SuppressMessageAttribute.cs
- NavigationProperty.cs
- ReflectionTypeLoadException.cs
- WebPartConnectionsDisconnectVerb.cs
- SortQueryOperator.cs
- EntityWrapper.cs
- EdmPropertyAttribute.cs
- WebPartHeaderCloseVerb.cs
- DelegateArgumentValue.cs
- RectAnimationBase.cs
- ChangeProcessor.cs
- ResolveNameEventArgs.cs
- XmlSignatureProperties.cs
- JsonXmlDataContract.cs
- ValueUnavailableException.cs
- UnmanagedMemoryStream.cs
- DefaultAssemblyResolver.cs
- WorkItem.cs
- DataGridViewRowStateChangedEventArgs.cs
- RegexRunner.cs
- CommandDesigner.cs
- Material.cs
- Vector3DCollectionConverter.cs
- PageParserFilter.cs
- AdornerDecorator.cs
- CopyNodeSetAction.cs
- DesignTimeParseData.cs
- RadioButtonStandardAdapter.cs
- CommandEventArgs.cs
- IgnoreFlushAndCloseStream.cs
- RelationshipFixer.cs
- PersonalizationDictionary.cs
- TimelineGroup.cs
- WhitespaceSignificantCollectionAttribute.cs
- IIS7UserPrincipal.cs
- X509SubjectKeyIdentifierClause.cs
- HuffCodec.cs
- RoutedEventArgs.cs
- DbException.cs
- FactoryRecord.cs
- IsolatedStorage.cs
- NumericUpDownAcceleration.cs
- SiteMap.cs
- UnmanagedMemoryStreamWrapper.cs
- MappingItemCollection.cs
- PerfService.cs
- RegularExpressionValidator.cs
- DmlSqlGenerator.cs
- EventBuilder.cs
- JournalEntryStack.cs
- StyleCollection.cs
- BitmapEffectrendercontext.cs
- InfoCardKeyedHashAlgorithm.cs
- ToolboxService.cs