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
- ColumnResizeAdorner.cs
- Events.cs
- AppDomainFactory.cs
- OpacityConverter.cs
- RangeValueProviderWrapper.cs
- _CookieModule.cs
- ActivationServices.cs
- SQLChars.cs
- ValueType.cs
- ForEachAction.cs
- VectorValueSerializer.cs
- DataObjectAttribute.cs
- EntityConnectionStringBuilder.cs
- Label.cs
- Operators.cs
- WmpBitmapDecoder.cs
- OutputCacheSettingsSection.cs
- CompilerCollection.cs
- BufferedGraphicsContext.cs
- HandlerFactoryWrapper.cs
- MediaContextNotificationWindow.cs
- MultipartContentParser.cs
- ObjectDataSourceStatusEventArgs.cs
- Frame.cs
- TraversalRequest.cs
- GridEntryCollection.cs
- HandleCollector.cs
- TableParaClient.cs
- TreeViewImageIndexConverter.cs
- FontStyles.cs
- CrossContextChannel.cs
- DataRelationCollection.cs
- TcpStreams.cs
- TreeView.cs
- ResourcePart.cs
- DbConnectionPoolGroup.cs
- ResourcePermissionBaseEntry.cs
- GridItemPatternIdentifiers.cs
- CodeEntryPointMethod.cs
- ValidationSummary.cs
- ErrorWebPart.cs
- PtsContext.cs
- PropertyGeneratedEventArgs.cs
- _FtpControlStream.cs
- CompiledELinqQueryState.cs
- ColumnHeader.cs
- ObjectDataSourceChooseTypePanel.cs
- WebBrowserPermission.cs
- ProfileParameter.cs
- wmiprovider.cs
- WebReferenceOptions.cs
- TransformerTypeCollection.cs
- HexParser.cs
- InkCanvasFeedbackAdorner.cs
- WebSysDescriptionAttribute.cs
- XPathSelectionIterator.cs
- XmlSchemaValidationException.cs
- TextTreeInsertElementUndoUnit.cs
- Camera.cs
- TextFindEngine.cs
- ColumnCollection.cs
- EncryptedXml.cs
- EdmFunction.cs
- StrokeFIndices.cs
- SQLMembershipProvider.cs
- TagPrefixInfo.cs
- InfocardClientCredentials.cs
- ObjectStateManager.cs
- LocalizationComments.cs
- AudioLevelUpdatedEventArgs.cs
- KeyTime.cs
- PluralizationServiceUtil.cs
- InstanceNormalEvent.cs
- ZeroOpNode.cs
- TypeForwardedToAttribute.cs
- CacheModeValueSerializer.cs
- ScaleTransform.cs
- BlurBitmapEffect.cs
- WaitingCursor.cs
- ViewKeyConstraint.cs
- AutomationPropertyInfo.cs
- PrefixQName.cs
- ProcessModule.cs
- ToolboxComponentsCreatedEventArgs.cs
- FaultDesigner.cs
- CodeDOMProvider.cs
- EventSinkHelperWriter.cs
- UriWriter.cs
- View.cs
- BatchParser.cs
- OLEDB_Util.cs
- ExplicitDiscriminatorMap.cs
- BindingExpression.cs
- ListenerBinder.cs
- EventSourceCreationData.cs
- OverflowException.cs
- PixelFormats.cs
- RemoteWebConfigurationHostServer.cs
- SamlSubject.cs
- EncoderExceptionFallback.cs