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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObfuscationAttribute.cs
- PageStatePersister.cs
- SqlBooleanMismatchVisitor.cs
- CodeCatchClauseCollection.cs
- JobStaple.cs
- ConsumerConnectionPoint.cs
- PathFigure.cs
- WebServiceTypeData.cs
- DesignTimeParseData.cs
- UnsafeNativeMethodsTablet.cs
- StringCollectionEditor.cs
- ExpressionValueEditor.cs
- XMLSchema.cs
- XmlBinaryReader.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- UnsignedPublishLicense.cs
- MulticastDelegate.cs
- FontSourceCollection.cs
- HtmlTitle.cs
- EntityDesignerDataSourceView.cs
- DesignerVerbCollection.cs
- UnaryQueryOperator.cs
- InternalCache.cs
- PlatformCulture.cs
- HtmlSelect.cs
- CodeCommentStatement.cs
- MessageEnumerator.cs
- SettingsProviderCollection.cs
- MappingMetadataHelper.cs
- safemediahandle.cs
- DBConnection.cs
- XmlValidatingReader.cs
- DesignerValidationSummaryAdapter.cs
- VirtualizingPanel.cs
- LabelEditEvent.cs
- RowToParametersTransformer.cs
- ChildrenQuery.cs
- WmlPageAdapter.cs
- CodeCommentStatement.cs
- OperationAbortedException.cs
- DataMisalignedException.cs
- SecurityElementBase.cs
- CachedPathData.cs
- PointCollection.cs
- COM2TypeInfoProcessor.cs
- Camera.cs
- OleDbDataReader.cs
- MediaContext.cs
- KeyedCollection.cs
- ProcessStartInfo.cs
- DoubleKeyFrameCollection.cs
- SmiGettersStream.cs
- SystemWebExtensionsSectionGroup.cs
- SystemTcpStatistics.cs
- XmlSchemaExporter.cs
- WebBrowser.cs
- RelationshipSet.cs
- VisualBasicReference.cs
- CounterCreationData.cs
- RegexTree.cs
- BrowserCapabilitiesFactory35.cs
- NativeMethods.cs
- Sentence.cs
- TimeSpanStorage.cs
- GPRECT.cs
- BoundsDrawingContextWalker.cs
- Menu.cs
- SupportsPreviewControlAttribute.cs
- AttributeProviderAttribute.cs
- SafeArrayTypeMismatchException.cs
- CacheSection.cs
- StylusPoint.cs
- PageScaling.cs
- DbProviderManifest.cs
- IPCCacheManager.cs
- WindowInteractionStateTracker.cs
- WpfWebRequestHelper.cs
- GACMembershipCondition.cs
- Polyline.cs
- Track.cs
- _BufferOffsetSize.cs
- ContentPlaceHolder.cs
- SafeNativeMethods.cs
- OracleParameter.cs
- EnumValAlphaComparer.cs
- RtType.cs
- DynamicPropertyHolder.cs
- AppSettingsExpressionBuilder.cs
- SizeChangedInfo.cs
- SharedPerformanceCounter.cs
- PolicyStatement.cs
- ContentPosition.cs
- FrameworkElement.cs
- StatusBarPanel.cs
- PropertyMapper.cs
- LocalizationParserHooks.cs
- OrderedDictionary.cs
- DependentList.cs
- ActivityDesignerLayoutSerializers.cs
- CompoundFileDeflateTransform.cs