Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1305376 / 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
- XmlSchemaSimpleContent.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ImageUrlEditor.cs
- JapaneseLunisolarCalendar.cs
- ShaderEffect.cs
- DBSqlParser.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Zone.cs
- ProgressBarAutomationPeer.cs
- CmsUtils.cs
- SqlConnectionPoolProviderInfo.cs
- _LocalDataStore.cs
- ObjectConverter.cs
- FormClosingEvent.cs
- IProducerConsumerCollection.cs
- ImageList.cs
- SendContent.cs
- SqlCacheDependencySection.cs
- AccessKeyManager.cs
- Psha1DerivedKeyGenerator.cs
- FullTextBreakpoint.cs
- NumericUpDownAccelerationCollection.cs
- wgx_exports.cs
- ProgressBarBrushConverter.cs
- DataGridViewToolTip.cs
- SchemaMerger.cs
- DataServiceException.cs
- ProfilePropertySettingsCollection.cs
- ConfigurationSettings.cs
- Quaternion.cs
- EventQueueState.cs
- WmpBitmapDecoder.cs
- ContentPropertyAttribute.cs
- NavigationService.cs
- SafeIUnknown.cs
- ConvertersCollection.cs
- RightsManagementUser.cs
- DataGridSortCommandEventArgs.cs
- Variant.cs
- PageClientProxyGenerator.cs
- Rect.cs
- cookiecollection.cs
- NavigatorOutput.cs
- DataGridViewRowsRemovedEventArgs.cs
- ServerValidateEventArgs.cs
- ListParaClient.cs
- SkewTransform.cs
- SqlServer2KCompatibilityAnnotation.cs
- DataGridCommandEventArgs.cs
- StylusTip.cs
- StorageSetMapping.cs
- TreeNode.cs
- PeerSecurityManager.cs
- FontSource.cs
- UpDownBase.cs
- ManagedWndProcTracker.cs
- SmtpLoginAuthenticationModule.cs
- EndpointNameMessageFilter.cs
- InvokePattern.cs
- PropertyIDSet.cs
- HandledEventArgs.cs
- InteropDesigner.xaml.cs
- ContentElementAutomationPeer.cs
- Ref.cs
- ListControl.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TouchEventArgs.cs
- EventItfInfo.cs
- BreakRecordTable.cs
- TableParagraph.cs
- MouseActionConverter.cs
- ScrollProviderWrapper.cs
- ValidatorUtils.cs
- DataBoundControlDesigner.cs
- Lazy.cs
- ResourceReader.cs
- UInt64.cs
- SqlDataReader.cs
- ChildTable.cs
- NestPullup.cs
- MailAddressCollection.cs
- UnsafeNativeMethods.cs
- TableRow.cs
- TaskResultSetter.cs
- PixelShader.cs
- Button.cs
- RightsManagementInformation.cs
- Menu.cs
- COM2Enum.cs
- SemanticBasicElement.cs
- RegexRunner.cs
- XhtmlBasicTextBoxAdapter.cs
- FixedDocumentPaginator.cs
- HttpCapabilitiesEvaluator.cs
- WebBrowserUriTypeConverter.cs
- CancelEventArgs.cs
- FixedBufferAttribute.cs
- XmlSchemaGroupRef.cs
- DataRelation.cs
- Style.cs