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
- LineSegment.cs
- ProcessModuleCollection.cs
- FieldTemplateFactory.cs
- WebMessageEncodingElement.cs
- StructureChangedEventArgs.cs
- MethodBuilderInstantiation.cs
- Int32Animation.cs
- ConfigWriter.cs
- XmlBinaryReader.cs
- FrameworkContentElement.cs
- RequestQueryParser.cs
- PagesChangedEventArgs.cs
- DataSvcMapFile.cs
- ArrayElementGridEntry.cs
- DesignerDataParameter.cs
- xdrvalidator.cs
- StreamWithDictionary.cs
- DataBindingCollectionEditor.cs
- TextFormatterContext.cs
- StorageEndPropertyMapping.cs
- IndexingContentUnit.cs
- X509SecurityTokenParameters.cs
- StringComparer.cs
- XpsSerializationManagerAsync.cs
- CanonicalFontFamilyReference.cs
- HtmlTitle.cs
- COM2Properties.cs
- SmtpException.cs
- ClientCultureInfo.cs
- HtmlEmptyTagControlBuilder.cs
- RegistryExceptionHelper.cs
- RegistryDataKey.cs
- MouseGestureValueSerializer.cs
- FlowDocument.cs
- PaintValueEventArgs.cs
- QuadraticEase.cs
- FixedStringLookup.cs
- XmlAttributeOverrides.cs
- FontResourceCache.cs
- WebPartEditorOkVerb.cs
- RemotingConfiguration.cs
- BuildDependencySet.cs
- VectorValueSerializer.cs
- RepeaterDesigner.cs
- WebServiceAttribute.cs
- XmlSchemaObjectCollection.cs
- NavigationFailedEventArgs.cs
- XmlCustomFormatter.cs
- HtmlDocument.cs
- Padding.cs
- Point3DCollection.cs
- RegexWorker.cs
- DebugView.cs
- CustomWebEventKey.cs
- _OverlappedAsyncResult.cs
- HostingEnvironment.cs
- PropertyInfoSet.cs
- SqlBinder.cs
- CompilationUtil.cs
- HtmlInputHidden.cs
- SpeechDetectedEventArgs.cs
- WebPartConnection.cs
- FacetValueContainer.cs
- CodeEntryPointMethod.cs
- IisTraceWebEventProvider.cs
- SizeAnimation.cs
- SessionStateItemCollection.cs
- CaseStatement.cs
- IconEditor.cs
- PathTooLongException.cs
- PreservationFileWriter.cs
- PackageStore.cs
- ToolStripGrip.cs
- RotateTransform3D.cs
- BitVector32.cs
- TextSimpleMarkerProperties.cs
- XmlSchemaProviderAttribute.cs
- ResponseStream.cs
- SystemResourceKey.cs
- ReliableMessagingVersion.cs
- SerializationAttributes.cs
- ListViewDeleteEventArgs.cs
- _NegoState.cs
- CreateUserWizardAutoFormat.cs
- TimelineGroup.cs
- _LazyAsyncResult.cs
- PrimitiveCodeDomSerializer.cs
- WebPartTransformerCollection.cs
- FilteredAttributeCollection.cs
- SafeSystemMetrics.cs
- TokenBasedSetEnumerator.cs
- Message.cs
- CodeTypeReferenceExpression.cs
- MouseDevice.cs
- SiteMembershipCondition.cs
- OpCodes.cs
- XmlMemberMapping.cs
- ListControl.cs
- OleDbStruct.cs
- WsdlInspector.cs