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
- UnsafeNativeMethodsCLR.cs
- OutputCacheSettingsSection.cs
- MultiSelector.cs
- GridPattern.cs
- OleAutBinder.cs
- ProxyWebPartConnectionCollection.cs
- SizeChangedInfo.cs
- AbandonedMutexException.cs
- DesignerVerbToolStripMenuItem.cs
- EntityTypeBase.cs
- ColorMatrix.cs
- AdCreatedEventArgs.cs
- CompatibleIComparer.cs
- SmtpFailedRecipientsException.cs
- filewebrequest.cs
- Action.cs
- SizeIndependentAnimationStorage.cs
- CompareValidator.cs
- OrderPreservingPipeliningMergeHelper.cs
- SafeViewOfFileHandle.cs
- XmlTypeMapping.cs
- OracleRowUpdatingEventArgs.cs
- SmiMetaDataProperty.cs
- PropertyNames.cs
- HMACMD5.cs
- RectAnimationBase.cs
- NetStream.cs
- SoapEnumAttribute.cs
- AlternateViewCollection.cs
- XmlEntity.cs
- StrokeNode.cs
- ClientApiGenerator.cs
- ListBindingConverter.cs
- FormattedText.cs
- AttachedAnnotationChangedEventArgs.cs
- TextModifier.cs
- XmlArrayItemAttribute.cs
- SortedSetDebugView.cs
- SQLDateTimeStorage.cs
- DragEvent.cs
- NavigationWindow.cs
- DataGridViewIntLinkedList.cs
- GenericUriParser.cs
- RelatedEnd.cs
- EpmContentSerializer.cs
- ConvertEvent.cs
- QuadTree.cs
- TextBoxRenderer.cs
- UrlMapping.cs
- XmlLanguageConverter.cs
- ThreadAttributes.cs
- DataSourceUtil.cs
- CounterSample.cs
- TextEditorSpelling.cs
- SimpleWorkerRequest.cs
- EditingContext.cs
- BuildResult.cs
- PropertyRef.cs
- DiagnosticsConfigurationHandler.cs
- LoadedOrUnloadedOperation.cs
- ExpandCollapsePattern.cs
- SortKey.cs
- RepeatBehaviorConverter.cs
- RoutedUICommand.cs
- XmlNavigatorStack.cs
- HybridDictionary.cs
- ExpressionNode.cs
- BufferedWebEventProvider.cs
- OnOperation.cs
- IISMapPath.cs
- _Win32.cs
- CodeMethodReturnStatement.cs
- EndpointAddressMessageFilter.cs
- Light.cs
- Errors.cs
- DrawingBrush.cs
- ConstraintStruct.cs
- MetabaseServerConfig.cs
- ActivityContext.cs
- CustomAttribute.cs
- ChameleonKey.cs
- propertyentry.cs
- XhtmlTextWriter.cs
- XComponentModel.cs
- ItemsPanelTemplate.cs
- RouteCollection.cs
- _UriTypeConverter.cs
- WebPartHeaderCloseVerb.cs
- XmlBinaryReader.cs
- FieldNameLookup.cs
- DocumentScope.cs
- TableItemPattern.cs
- DataRow.cs
- SessionStateSection.cs
- EnumUnknown.cs
- InputScopeAttribute.cs
- Script.cs
- CompilerGeneratedAttribute.cs
- TextShapeableCharacters.cs
- Formatter.cs