Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1 / XmlAnyElementAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=true)] public class XmlAnyElementAttribute : System.Attribute { string name; string ns; int order = -1; bool nsSpecified = false; ///[To be supplied.] ////// /// public XmlAnyElementAttribute() { } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name, string ns) { this.name = name; this.ns = ns; nsSpecified = true; } ///[To be supplied.] ////// /// public string Name { get { return name == null ? string.Empty : name; } set { name = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; nsSpecified = true; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } internal bool NamespaceSpecified { get { return nsSpecified; } } } } // 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; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=true)] public class XmlAnyElementAttribute : System.Attribute { string name; string ns; int order = -1; bool nsSpecified = false; ///[To be supplied.] ////// /// public XmlAnyElementAttribute() { } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name, string ns) { this.name = name; this.ns = ns; nsSpecified = true; } ///[To be supplied.] ////// /// public string Name { get { return name == null ? string.Empty : name; } set { name = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; nsSpecified = true; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } internal bool NamespaceSpecified { get { return nsSpecified; } } } } // 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
- TemplateLookupAction.cs
- InvokePattern.cs
- DependsOnAttribute.cs
- DataError.cs
- AssemblyBuilderData.cs
- KeyedCollection.cs
- OverflowException.cs
- EventProviderClassic.cs
- StatusBarItem.cs
- Wildcard.cs
- HttpHandlersSection.cs
- XmlSigningNodeWriter.cs
- infer.cs
- SignedXml.cs
- ClientUrlResolverWrapper.cs
- SecurityDescriptor.cs
- BitVector32.cs
- AudioFileOut.cs
- SystemColorTracker.cs
- Win32MouseDevice.cs
- HMACSHA256.cs
- WebPartEditorOkVerb.cs
- BlurEffect.cs
- ByteAnimationUsingKeyFrames.cs
- EnumerableCollectionView.cs
- MaskInputRejectedEventArgs.cs
- COSERVERINFO.cs
- Encoder.cs
- MemoryFailPoint.cs
- ReflectionHelper.cs
- ProxyWebPartConnectionCollection.cs
- CharEntityEncoderFallback.cs
- RoleGroup.cs
- ErrorsHelper.cs
- ProcessHostServerConfig.cs
- RawStylusInput.cs
- DataGridRowAutomationPeer.cs
- InheritanceContextHelper.cs
- XmlAttributeAttribute.cs
- NumberSubstitution.cs
- IndexedGlyphRun.cs
- CheckBoxRenderer.cs
- UInt16Storage.cs
- Int32KeyFrameCollection.cs
- TransformProviderWrapper.cs
- WebPartTransformerCollection.cs
- CustomCategoryAttribute.cs
- OnOperation.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Object.cs
- FontStretch.cs
- AccessControlEntry.cs
- OutputScopeManager.cs
- SqlWorkflowPersistenceService.cs
- DeriveBytes.cs
- BuildManagerHost.cs
- RowsCopiedEventArgs.cs
- StateBag.cs
- CalendarAutoFormatDialog.cs
- OleDbFactory.cs
- SecurityUtils.cs
- TextCompositionEventArgs.cs
- DateTimeFormatInfoScanner.cs
- InArgument.cs
- QuadraticBezierSegment.cs
- SubtreeProcessor.cs
- SetState.cs
- IFormattable.cs
- TypeConverterHelper.cs
- BitmapEffectrendercontext.cs
- CqlParser.cs
- NetworkInterface.cs
- PackageRelationshipCollection.cs
- RenderCapability.cs
- SuppressMessageAttribute.cs
- RegexCompiler.cs
- VisualTreeUtils.cs
- DigestTraceRecordHelper.cs
- nulltextnavigator.cs
- SqlRewriteScalarSubqueries.cs
- DbConnectionPoolGroup.cs
- ResourceReferenceKeyNotFoundException.cs
- AudioDeviceOut.cs
- PopupControlService.cs
- CTreeGenerator.cs
- DBConcurrencyException.cs
- StickyNoteContentControl.cs
- RSAPKCS1KeyExchangeFormatter.cs
- FrameworkElementFactoryMarkupObject.cs
- SafeNativeMethods.cs
- ActivationServices.cs
- TextEffectResolver.cs
- TextTreeRootNode.cs
- SecurityTraceRecordHelper.cs
- GridItemPattern.cs
- ProfileGroupSettings.cs
- DataGridViewRowStateChangedEventArgs.cs
- SecurityCriticalDataForSet.cs
- TrackBarRenderer.cs
- NavigatorOutput.cs