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
- DataControlLinkButton.cs
- TypographyProperties.cs
- KeyboardNavigation.cs
- InvokeFunc.cs
- ReplyChannelAcceptor.cs
- StringHandle.cs
- CompiledRegexRunnerFactory.cs
- DataMemberFieldConverter.cs
- LockedHandleGlyph.cs
- DtdParser.cs
- DesignerAttribute.cs
- SynchronizationScope.cs
- QuaternionAnimation.cs
- ApplicationInterop.cs
- SpotLight.cs
- StorageScalarPropertyMapping.cs
- GridViewAutomationPeer.cs
- DebugView.cs
- PasswordTextNavigator.cs
- ByteStreamBufferedMessageData.cs
- CellPartitioner.cs
- HTTPNotFoundHandler.cs
- HostingEnvironment.cs
- ReliableMessagingVersionConverter.cs
- ReflectPropertyDescriptor.cs
- CalendarDesigner.cs
- CodeCommentStatement.cs
- WebPartDisplayMode.cs
- XmlIterators.cs
- ListParagraph.cs
- MetadataUtil.cs
- GC.cs
- DataGridViewAccessibleObject.cs
- DatePickerAutomationPeer.cs
- QueryCoreOp.cs
- MetadataArtifactLoaderCompositeResource.cs
- ButtonAutomationPeer.cs
- RotationValidation.cs
- xml.cs
- RecognizerBase.cs
- KeyEventArgs.cs
- SmtpFailedRecipientException.cs
- ParseElement.cs
- DataGridRowClipboardEventArgs.cs
- TextPenaltyModule.cs
- SQLDecimal.cs
- PtsHelper.cs
- LineInfo.cs
- LZCodec.cs
- ScalarConstant.cs
- DispatcherProcessingDisabled.cs
- DefaultMemberAttribute.cs
- DeviceContext2.cs
- BindingContext.cs
- CaseInsensitiveOrdinalStringComparer.cs
- indexingfiltermarshaler.cs
- XamlHttpHandlerFactory.cs
- DropShadowEffect.cs
- Switch.cs
- ConnectorDragDropGlyph.cs
- ToolStripScrollButton.cs
- GeneratedContractType.cs
- BuildResultCache.cs
- TableRowCollection.cs
- TextFormatterImp.cs
- ReliableReplySessionChannel.cs
- Color.cs
- UIElement3D.cs
- DownloadProgressEventArgs.cs
- UInt32Storage.cs
- HttpRequestTraceRecord.cs
- ScrollItemProviderWrapper.cs
- ControlBindingsCollection.cs
- QilDataSource.cs
- HybridObjectCache.cs
- Version.cs
- CreateInstanceBinder.cs
- PageClientProxyGenerator.cs
- Encoding.cs
- HtmlHead.cs
- DynamicDiscoSearcher.cs
- XsltContext.cs
- MatrixTransform.cs
- Exceptions.cs
- ConfigUtil.cs
- WsdlInspector.cs
- JsonGlobals.cs
- HttpRequest.cs
- MsmqMessage.cs
- MobileControlPersister.cs
- RandomNumberGenerator.cs
- NameValueConfigurationCollection.cs
- DataGridViewHitTestInfo.cs
- RegexWriter.cs
- StringConcat.cs
- TransportSecurityProtocol.cs
- DeflateStreamAsyncResult.cs
- CardSpacePolicyElement.cs
- JpegBitmapEncoder.cs
- PageAsyncTaskManager.cs