Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeUnion.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeUserTokenHandle.cs
- TraceContextRecord.cs
- ImageMapEventArgs.cs
- TextRunTypographyProperties.cs
- KeyGestureConverter.cs
- ZoneButton.cs
- RoutedPropertyChangedEventArgs.cs
- InternalConfigEventArgs.cs
- UnionExpr.cs
- ServiceContractAttribute.cs
- SqlEnums.cs
- ClientSession.cs
- nulltextcontainer.cs
- BindingMemberInfo.cs
- WorkflowItemsPresenter.cs
- RegexGroupCollection.cs
- SqlComparer.cs
- precedingquery.cs
- QuotedPrintableStream.cs
- Avt.cs
- UInt32Converter.cs
- MenuBase.cs
- LinkedResourceCollection.cs
- BaseTypeViewSchema.cs
- VirtualizedCellInfoCollection.cs
- XPathAncestorQuery.cs
- Process.cs
- PropertyToken.cs
- FrugalList.cs
- WindowsSysHeader.cs
- RewritingValidator.cs
- DataViewListener.cs
- SqlDataAdapter.cs
- FrameworkContextData.cs
- StateBag.cs
- IPPacketInformation.cs
- AnimationClockResource.cs
- CatalogZone.cs
- X509SubjectKeyIdentifierClause.cs
- ProviderUtil.cs
- CompModSwitches.cs
- IconConverter.cs
- OdbcEnvironmentHandle.cs
- EntitySqlQueryState.cs
- UIPermission.cs
- WindowsComboBox.cs
- DocumentPage.cs
- mda.cs
- XmlComment.cs
- Point3DCollection.cs
- MultiDataTrigger.cs
- TextTreeFixupNode.cs
- WebPartCloseVerb.cs
- CheckBoxField.cs
- BamlLocalizer.cs
- GestureRecognizer.cs
- IxmlLineInfo.cs
- FixedSOMTableCell.cs
- GeneralTransform3DGroup.cs
- NonVisualControlAttribute.cs
- FullTrustAssembly.cs
- Process.cs
- AudioBase.cs
- SolidBrush.cs
- SignatureHelper.cs
- CodeGeneratorOptions.cs
- InkCanvasSelectionAdorner.cs
- WrappedIUnknown.cs
- BackStopAuthenticationModule.cs
- HttpRawResponse.cs
- MimeMapping.cs
- LinqDataSourceView.cs
- CollectionType.cs
- Component.cs
- MetadataExchangeBindings.cs
- DocumentApplicationJournalEntryEventArgs.cs
- UriWriter.cs
- ConnectionPointCookie.cs
- Win32SafeHandles.cs
- XmlSerializerFactory.cs
- GeneralTransform3D.cs
- PresentationSource.cs
- WindowsSolidBrush.cs
- Substitution.cs
- LeafCellTreeNode.cs
- DataGridDesigner.cs
- MoveSizeWinEventHandler.cs
- LambdaCompiler.cs
- DataGridViewSelectedColumnCollection.cs
- ManagedWndProcTracker.cs
- GacUtil.cs
- MouseDevice.cs
- ArgumentElement.cs
- PeerApplication.cs
- OneWayChannelListener.cs
- AttachedAnnotationChangedEventArgs.cs
- HideDisabledControlAdapter.cs
- RoleGroupCollection.cs
- PrinterSettings.cs
- Evidence.cs