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
- SecureConversationServiceCredential.cs
- HandlerMappingMemo.cs
- DataException.cs
- LineGeometry.cs
- UniqueIdentifierService.cs
- SettingsBase.cs
- BitmapSourceSafeMILHandle.cs
- ToolboxBitmapAttribute.cs
- HelpKeywordAttribute.cs
- DiffuseMaterial.cs
- ComboBoxItem.cs
- BooleanKeyFrameCollection.cs
- SQLDecimal.cs
- BindingOperations.cs
- MediaTimeline.cs
- ElementHost.cs
- PreservationFileReader.cs
- QilInvokeLateBound.cs
- ReaderOutput.cs
- TypeBuilder.cs
- FlowDocumentFormatter.cs
- FileFormatException.cs
- XmlNode.cs
- FlowDocumentPaginator.cs
- SoapExtensionImporter.cs
- BooleanStorage.cs
- Identifier.cs
- BitmapEffectGeneralTransform.cs
- QuestionEventArgs.cs
- TreeNodeCollection.cs
- GACIdentityPermission.cs
- Ray3DHitTestResult.cs
- StatusBarPanel.cs
- FixedSOMContainer.cs
- ViewValidator.cs
- OutputScope.cs
- PointConverter.cs
- RegexReplacement.cs
- ListDictionary.cs
- UserInitiatedNavigationPermission.cs
- rsa.cs
- MarkupObject.cs
- Form.cs
- Ticks.cs
- UndoEngine.cs
- StreamGeometryContext.cs
- IFormattable.cs
- ThreadExceptionDialog.cs
- WorkflowQueueInfo.cs
- DashStyle.cs
- ButtonBaseAutomationPeer.cs
- JsonEncodingStreamWrapper.cs
- HtmlInputHidden.cs
- DataGridViewRowPrePaintEventArgs.cs
- DataBoundControl.cs
- RenderingBiasValidation.cs
- TakeQueryOptionExpression.cs
- XMLSchema.cs
- CrossContextChannel.cs
- AutomationIdentifier.cs
- BindingsCollection.cs
- FileLevelControlBuilderAttribute.cs
- ExpressionVisitorHelpers.cs
- NativeMethods.cs
- ProcessThread.cs
- ObjectDataSourceView.cs
- ProfileGroupSettingsCollection.cs
- XmlRawWriterWrapper.cs
- NameSpaceEvent.cs
- Trustee.cs
- GenericTransactionFlowAttribute.cs
- FreezableDefaultValueFactory.cs
- _CommandStream.cs
- CodeGroup.cs
- UInt16.cs
- PathGeometry.cs
- GeometryGroup.cs
- EdmItemCollection.cs
- ProfileSettingsCollection.cs
- RequestDescription.cs
- ResourceManagerWrapper.cs
- PropertyCollection.cs
- _ConnectOverlappedAsyncResult.cs
- XmlArrayItemAttributes.cs
- Int64KeyFrameCollection.cs
- x509utils.cs
- DynamicArgumentDesigner.xaml.cs
- SamlDoNotCacheCondition.cs
- InternalPermissions.cs
- RuleElement.cs
- PropertyGrid.cs
- Enum.cs
- InputLanguage.cs
- ConsumerConnectionPointCollection.cs
- Evidence.cs
- CommandHelper.cs
- BamlVersionHeader.cs
- BitmapPalettes.cs
- ResourceDescriptionAttribute.cs
- EndpointDiscoveryMetadataCD1.cs