Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeUnion.cs / 1305376 / XmlSchemaSimpleTypeUnion.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeUnion : XmlSchemaSimpleTypeContent { XmlSchemaObjectCollection baseTypes = new XmlSchemaObjectCollection(); XmlQualifiedName[] memberTypes; XmlSchemaSimpleType[] baseMemberTypes; // Compiled ///[To be supplied.] ////// /// [XmlElement("simpleType", typeof(XmlSchemaSimpleType))] public XmlSchemaObjectCollection BaseTypes { get { return baseTypes; } } ///[To be supplied.] ///[XmlAttribute("memberTypes")] public XmlQualifiedName[] MemberTypes { get { return memberTypes; } set { memberTypes = value; } } //Compiled Information /// [XmlIgnore] public XmlSchemaSimpleType[] BaseMemberTypes { get { return baseMemberTypes; } } internal void SetBaseMemberTypes(XmlSchemaSimpleType[] baseMemberTypes) { this.baseMemberTypes = baseMemberTypes; } internal override XmlSchemaObject Clone() { if (memberTypes != null && memberTypes.Length > 0) { //Only if the union has MemberTypes defined XmlSchemaSimpleTypeUnion newUnion = (XmlSchemaSimpleTypeUnion)MemberwiseClone(); XmlQualifiedName[] newQNames = new XmlQualifiedName[memberTypes.Length]; for (int i = 0; i < memberTypes.Length; i++) { newQNames[i] = memberTypes[i].Clone(); } newUnion.MemberTypes = newQNames; return newUnion; } return this; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextDecorationLocationValidation.cs
- ByteAnimationUsingKeyFrames.cs
- ReadOnlyAttribute.cs
- HtmlTableRowCollection.cs
- Error.cs
- APCustomTypeDescriptor.cs
- SiteMapDataSourceView.cs
- SiteOfOriginPart.cs
- LocationSectionRecord.cs
- FormViewUpdateEventArgs.cs
- COM2ExtendedTypeConverter.cs
- CodeSnippetExpression.cs
- RIPEMD160.cs
- Variable.cs
- ListenerBinder.cs
- TypeElement.cs
- ResponseBodyWriter.cs
- TextDecorationCollectionConverter.cs
- ServiceDeploymentInfo.cs
- WebPartCancelEventArgs.cs
- ImageButton.cs
- SqlDeflator.cs
- SystemGatewayIPAddressInformation.cs
- TaiwanLunisolarCalendar.cs
- Expression.cs
- XmlSchemaAttributeGroup.cs
- TraceData.cs
- ToolBarDesigner.cs
- XmlReflectionImporter.cs
- ReadOnlyDataSourceView.cs
- OdbcRowUpdatingEvent.cs
- CryptoApi.cs
- DSASignatureDeformatter.cs
- DatagridviewDisplayedBandsData.cs
- ScriptDescriptor.cs
- RtfNavigator.cs
- HttpDebugHandler.cs
- SqlBulkCopyColumnMappingCollection.cs
- MailMessage.cs
- RadioButtonList.cs
- SpellerHighlightLayer.cs
- VersionedStreamOwner.cs
- WebServiceResponseDesigner.cs
- DateTimeOffsetConverter.cs
- ColorContextHelper.cs
- DbConnectionPoolGroup.cs
- Graphics.cs
- SoapMessage.cs
- MexHttpsBindingCollectionElement.cs
- DebugInfo.cs
- SiteMapDataSourceView.cs
- ColumnMapVisitor.cs
- DesignerHierarchicalDataSourceView.cs
- SqlLiftIndependentRowExpressions.cs
- WriteLine.cs
- XmlTextAttribute.cs
- GcSettings.cs
- CoreSwitches.cs
- WeakEventTable.cs
- PointCollectionConverter.cs
- ToolStripRenderer.cs
- TakeOrSkipQueryOperator.cs
- RijndaelCryptoServiceProvider.cs
- HttpCapabilitiesEvaluator.cs
- GridViewEditEventArgs.cs
- GridViewColumnCollection.cs
- SchemaImporterExtensionElement.cs
- GregorianCalendarHelper.cs
- SoundPlayer.cs
- ContextInformation.cs
- MaterialCollection.cs
- FrugalMap.cs
- Soap.cs
- TypeDescriptionProvider.cs
- TraceFilter.cs
- GeometryCollection.cs
- SourceCollection.cs
- URIFormatException.cs
- IApplicationTrustManager.cs
- DesignerAttribute.cs
- TreeNodeCollection.cs
- Token.cs
- CommandID.cs
- StrokeSerializer.cs
- IProvider.cs
- DrawingAttributeSerializer.cs
- SpanIndex.cs
- CurrentChangingEventArgs.cs
- EdmComplexPropertyAttribute.cs
- PluggableProtocol.cs
- GetIndexBinder.cs
- ParsedRoute.cs
- RemotingAttributes.cs
- HostProtectionException.cs
- GcSettings.cs
- WebSysDescriptionAttribute.cs
- UIElement.cs
- Binding.cs
- DbDataSourceEnumerator.cs
- ArrangedElementCollection.cs