Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlChoiceIdentifierAttribute.cs / 1305376 / XmlChoiceIdentifierAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; #if SILVERLIGHT // For XmlSerializer using System.Reflection; #endif ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=false)] public class XmlChoiceIdentifierAttribute : System.Attribute { string name; #if SILVERLIGHT // For XmlSerializer MemberInfo memberInfo; #endif ///[To be supplied.] ////// /// public XmlChoiceIdentifierAttribute() { } ///[To be supplied.] ////// /// public XmlChoiceIdentifierAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public string MemberName { get { return name == null ? string.Empty : name; } set { name = value; } } #if SILVERLIGHT // For XmlSerializer internal MemberInfo MemberInfo { get { return memberInfo; } set { memberInfo = value; } } #endif } } // 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; using System.Xml.Schema; #if SILVERLIGHT // For XmlSerializer using System.Reflection; #endif ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=false)] public class XmlChoiceIdentifierAttribute : System.Attribute { string name; #if SILVERLIGHT // For XmlSerializer MemberInfo memberInfo; #endif ///[To be supplied.] ////// /// public XmlChoiceIdentifierAttribute() { } ///[To be supplied.] ////// /// public XmlChoiceIdentifierAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public string MemberName { get { return name == null ? string.Empty : name; } set { name = value; } } #if SILVERLIGHT // For XmlSerializer internal MemberInfo MemberInfo { get { return memberInfo; } set { memberInfo = value; } } #endif } } // 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
- ErrorEventArgs.cs
- TriState.cs
- ComNativeDescriptor.cs
- followingsibling.cs
- TemplateControlParser.cs
- BooleanAnimationBase.cs
- OleDbConnectionFactory.cs
- ZoneMembershipCondition.cs
- QueryOutputWriter.cs
- DbException.cs
- EventToken.cs
- GraphicsPathIterator.cs
- DeclaredTypeElement.cs
- GridViewDesigner.cs
- DWriteFactory.cs
- UnitySerializationHolder.cs
- DataGridViewElement.cs
- Util.cs
- DataBoundControlAdapter.cs
- ScriptComponentDescriptor.cs
- CodeTypeDeclarationCollection.cs
- TextEndOfParagraph.cs
- XslTransform.cs
- BoolExpr.cs
- InnerItemCollectionView.cs
- TraceXPathNavigator.cs
- WindowsListViewItem.cs
- TableItemPatternIdentifiers.cs
- XmlSchemaDocumentation.cs
- EmptyEnumerator.cs
- ScrollBarRenderer.cs
- RC2CryptoServiceProvider.cs
- ViewBox.cs
- Light.cs
- PrivilegedConfigurationManager.cs
- PenLineJoinValidation.cs
- ActivityWithResultConverter.cs
- ListBoxItemAutomationPeer.cs
- RSAPKCS1KeyExchangeFormatter.cs
- EmptyImpersonationContext.cs
- ToolTip.cs
- _BasicClient.cs
- LineServices.cs
- DirtyTextRange.cs
- Compiler.cs
- DocumentEventArgs.cs
- unitconverter.cs
- Int16Animation.cs
- HttpListenerPrefixCollection.cs
- PropertySet.cs
- AnimationClock.cs
- FacetValueContainer.cs
- CharacterShapingProperties.cs
- RepeaterCommandEventArgs.cs
- RelationshipNavigation.cs
- Exception.cs
- IPAddress.cs
- SeekStoryboard.cs
- BlockExpression.cs
- ProcessModuleCollection.cs
- UndoManager.cs
- graph.cs
- BookmarkScopeManager.cs
- ConstraintConverter.cs
- ProfileSettingsCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- BasicKeyConstraint.cs
- ApplicationException.cs
- TogglePatternIdentifiers.cs
- GlyphCollection.cs
- XmlSchemaNotation.cs
- EntityReference.cs
- SizeFConverter.cs
- ReflectEventDescriptor.cs
- ProfileParameter.cs
- GetPageNumberCompletedEventArgs.cs
- DataServiceRequestException.cs
- AsyncPostBackErrorEventArgs.cs
- odbcmetadatacollectionnames.cs
- ContextMenuStripGroup.cs
- XmlDomTextWriter.cs
- DiscoveryClientDuplexChannel.cs
- ArgumentDesigner.xaml.cs
- PictureBox.cs
- ControlType.cs
- XmlnsDictionary.cs
- AsyncStreamReader.cs
- DynamicDataExtensions.cs
- SHA512Managed.cs
- CreateParams.cs
- NonParentingControl.cs
- ColorAnimationUsingKeyFrames.cs
- WebPartCollection.cs
- ToolStripDropDownItem.cs
- MimeBasePart.cs
- PathStreamGeometryContext.cs
- TimeoutTimer.cs
- SortQuery.cs
- WebBrowserPermission.cs
- HandlerFactoryCache.cs