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
- DbConnectionPoolGroupProviderInfo.cs
- ADMembershipProvider.cs
- Psha1DerivedKeyGenerator.cs
- WebRequestModulesSection.cs
- DataGridViewSortCompareEventArgs.cs
- FixedDSBuilder.cs
- SafeFileMappingHandle.cs
- OleDbCommandBuilder.cs
- ProfileProvider.cs
- FixedTextContainer.cs
- ObjectKeyFrameCollection.cs
- Figure.cs
- Int32CAMarshaler.cs
- HttpBrowserCapabilitiesWrapper.cs
- AudioDeviceOut.cs
- DashStyles.cs
- IdentitySection.cs
- OrderedHashRepartitionStream.cs
- StateMachineWorkflowInstance.cs
- Cursors.cs
- ObjectQuery_EntitySqlExtensions.cs
- ProcessInputEventArgs.cs
- DateTimeFormat.cs
- DataGridRow.cs
- HistoryEventArgs.cs
- XPathEmptyIterator.cs
- DefaultAssemblyResolver.cs
- EncryptedPackage.cs
- SchemaImporterExtensionElementCollection.cs
- CodeBinaryOperatorExpression.cs
- FacetDescriptionElement.cs
- _SslSessionsCache.cs
- Brush.cs
- DesignTimeVisibleAttribute.cs
- HttpModulesInstallComponent.cs
- WindowsSysHeader.cs
- DesignerSerializationVisibilityAttribute.cs
- HttpModulesSection.cs
- DiscoveryServerProtocol.cs
- TypeDependencyAttribute.cs
- EntityDataSourceDataSelection.cs
- Facet.cs
- AttributeEmitter.cs
- streamingZipPartStream.cs
- Calendar.cs
- SchemaTableOptionalColumn.cs
- Context.cs
- CompareValidator.cs
- SiteIdentityPermission.cs
- EDesignUtil.cs
- WebPartCloseVerb.cs
- StringArrayEditor.cs
- Helpers.cs
- HasActivatableWorkflowEvent.cs
- ImageCodecInfo.cs
- RegexReplacement.cs
- IList.cs
- SubpageParagraph.cs
- XamlInt32CollectionSerializer.cs
- IncrementalHitTester.cs
- XmlAttributeAttribute.cs
- ZeroOpNode.cs
- XmlArrayAttribute.cs
- AppendHelper.cs
- SerializationStore.cs
- SetIterators.cs
- DecoratedNameAttribute.cs
- EncryptedData.cs
- DecimalAnimationUsingKeyFrames.cs
- ServiceDescriptions.cs
- GridViewColumn.cs
- HttpGetProtocolReflector.cs
- DesignConnectionCollection.cs
- webeventbuffer.cs
- RotateTransform3D.cs
- UpdatePanelControlTrigger.cs
- DataGridColumnHeadersPresenter.cs
- CodeAttributeArgument.cs
- NominalTypeEliminator.cs
- RedistVersionInfo.cs
- KeyBinding.cs
- SqlNodeAnnotation.cs
- OdbcCommand.cs
- XpsImage.cs
- BaseComponentEditor.cs
- IndexingContentUnit.cs
- TextClipboardData.cs
- XmlBaseWriter.cs
- BitVec.cs
- DocumentViewerAutomationPeer.cs
- XhtmlConformanceSection.cs
- SiteMapNodeItem.cs
- XmlDomTextWriter.cs
- CriticalExceptions.cs
- HttpStreamMessageEncoderFactory.cs
- PixelFormat.cs
- SapiGrammar.cs
- InternalCache.cs
- AssemblyName.cs
- IEnumerable.cs