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
- NavigationPropertyEmitter.cs
- WebBrowserBase.cs
- CodeAttributeDeclaration.cs
- VirtualDirectoryMapping.cs
- ToolStripPanelCell.cs
- AnnotationAuthorChangedEventArgs.cs
- TextView.cs
- GPRECT.cs
- DataQuery.cs
- ResourceReader.cs
- CodeArrayCreateExpression.cs
- TextElementEditingBehaviorAttribute.cs
- LayoutEvent.cs
- DBBindings.cs
- ArrayExtension.cs
- HyperLink.cs
- Keyboard.cs
- SecurityRuntime.cs
- PnrpPeerResolverElement.cs
- Typeface.cs
- PropertyChangedEventManager.cs
- GenericWebPart.cs
- ClipboardData.cs
- CacheVirtualItemsEvent.cs
- SplitterPanel.cs
- BindUriHelper.cs
- TextStore.cs
- Grid.cs
- RuleInfoComparer.cs
- DataTableExtensions.cs
- InputLanguageManager.cs
- DataColumnMapping.cs
- WindowsPrincipal.cs
- VerticalAlignConverter.cs
- ObservableCollection.cs
- ObjectSecurity.cs
- NullEntityWrapper.cs
- DataGridAddNewRow.cs
- SafeNativeMethodsOther.cs
- CornerRadius.cs
- JapaneseLunisolarCalendar.cs
- InvalidCommandTreeException.cs
- XmlParserContext.cs
- NameValueSectionHandler.cs
- ADConnectionHelper.cs
- EdmConstants.cs
- AuthenticationConfig.cs
- SqlIdentifier.cs
- ConnectionStringsExpressionEditor.cs
- ObjectResult.cs
- SqlDataAdapter.cs
- EventSchemaTraceListener.cs
- EventProvider.cs
- QilGeneratorEnv.cs
- DataTableMappingCollection.cs
- ScrollData.cs
- SchemaImporter.cs
- ReferentialConstraintRoleElement.cs
- DateTimeOffsetConverter.cs
- Monitor.cs
- XPathNavigatorReader.cs
- ToolStripContainer.cs
- DataGridCellClipboardEventArgs.cs
- InternalMappingException.cs
- ResolveCriteria11.cs
- MatrixCamera.cs
- QilStrConcat.cs
- MemberBinding.cs
- FixedPage.cs
- RtfControlWordInfo.cs
- Bezier.cs
- XmlSchemaInclude.cs
- SystemKeyConverter.cs
- TransformationRules.cs
- ComNativeDescriptor.cs
- ScriptReference.cs
- TableLayoutStyleCollection.cs
- EncoderExceptionFallback.cs
- Duration.cs
- DataProtection.cs
- IMembershipProvider.cs
- Grid.cs
- ErrorsHelper.cs
- HttpHeaderCollection.cs
- FamilyMapCollection.cs
- ExpressionDumper.cs
- ResourceExpressionBuilder.cs
- HTMLTagNameToTypeMapper.cs
- CollectionBase.cs
- DbMetaDataFactory.cs
- Literal.cs
- NonParentingControl.cs
- BindingContext.cs
- StandardOleMarshalObject.cs
- DNS.cs
- StreamInfo.cs
- EdmType.cs
- ColumnMapTranslator.cs
- DrawingDrawingContext.cs
- Quaternion.cs