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
- KeyBinding.cs
- ReflectionHelper.cs
- FileDialog_Vista_Interop.cs
- SchemaImporterExtensionElement.cs
- CqlQuery.cs
- cookiecontainer.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Timeline.cs
- ServerValidateEventArgs.cs
- TextTreeNode.cs
- UnionCodeGroup.cs
- XamlPoint3DCollectionSerializer.cs
- _SecureChannel.cs
- WebPartConnectionsConnectVerb.cs
- RuleSetDialog.cs
- ReadOnlyNameValueCollection.cs
- EmptyEnumerable.cs
- ThicknessAnimation.cs
- InputBindingCollection.cs
- StrongNameIdentityPermission.cs
- XmlSchemaSimpleTypeRestriction.cs
- WebBrowserProgressChangedEventHandler.cs
- InlineUIContainer.cs
- TextElement.cs
- FlowDocumentScrollViewer.cs
- Literal.cs
- RemotingServices.cs
- QueryProcessor.cs
- MailBnfHelper.cs
- BamlResourceSerializer.cs
- TextParagraphView.cs
- ClientEventManager.cs
- DocumentPage.cs
- XmlMemberMapping.cs
- BoundColumn.cs
- TextDecoration.cs
- DesignTimeVisibleAttribute.cs
- HebrewNumber.cs
- KoreanCalendar.cs
- CapabilitiesRule.cs
- PageRequestManager.cs
- BigInt.cs
- WorkflowServiceHostFactory.cs
- SkewTransform.cs
- ItemsControl.cs
- ModuleBuilder.cs
- propertytag.cs
- ExtensionFile.cs
- ModuleBuilderData.cs
- DataControlImageButton.cs
- TemplateInstanceAttribute.cs
- UdpSocket.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- BindingNavigator.cs
- IdentifierService.cs
- TraceLevelHelper.cs
- DispatcherOperation.cs
- ClusterRegistryConfigurationProvider.cs
- AuthenticationManager.cs
- DataObjectMethodAttribute.cs
- IncrementalHitTester.cs
- InstanceOwner.cs
- DateTimeConstantAttribute.cs
- MetadataCacheItem.cs
- ProcessHostFactoryHelper.cs
- HttpHeaderCollection.cs
- RenderOptions.cs
- VisualTreeHelper.cs
- WindowsGraphicsCacheManager.cs
- SafeArrayRankMismatchException.cs
- CompilerHelpers.cs
- Cursors.cs
- AtlasWeb.Designer.cs
- MsmqIntegrationValidationBehavior.cs
- CounterCreationDataCollection.cs
- ExpandSegmentCollection.cs
- DesignerTextWriter.cs
- StreamSecurityUpgradeInitiator.cs
- ToolStripGripRenderEventArgs.cs
- CodeMemberProperty.cs
- TraceRecord.cs
- GridViewEditEventArgs.cs
- SqlProcedureAttribute.cs
- DataSourceExpression.cs
- AsymmetricKeyExchangeFormatter.cs
- FileDialog.cs
- CodePropertyReferenceExpression.cs
- ScriptRef.cs
- XmlDataContract.cs
- DesignerSerializationManager.cs
- DataGridTablesFactory.cs
- SamlConstants.cs
- HttpRawResponse.cs
- XsltInput.cs
- StorageMappingItemCollection.cs
- ProtocolViolationException.cs
- CodeCommentStatementCollection.cs
- IUnknownConstantAttribute.cs
- _ProxyChain.cs
- CacheAxisQuery.cs