Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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
- TimelineClockCollection.cs
- Util.cs
- Win32MouseDevice.cs
- StringUtil.cs
- TypeNameConverter.cs
- SubMenuStyleCollection.cs
- ViewSimplifier.cs
- List.cs
- PropertyRef.cs
- MatrixCamera.cs
- DependencySource.cs
- ResourceProviderFactory.cs
- WebReferencesBuildProvider.cs
- CatalogPartChrome.cs
- DispatcherExceptionFilterEventArgs.cs
- SerializationSectionGroup.cs
- CollectionBuilder.cs
- FontSizeConverter.cs
- ColorPalette.cs
- TableCell.cs
- ColorIndependentAnimationStorage.cs
- CompiledIdentityConstraint.cs
- safex509handles.cs
- SessionPageStateSection.cs
- VScrollProperties.cs
- PropertyEntry.cs
- TextEffectCollection.cs
- TextElement.cs
- RelationshipConverter.cs
- UserMapPath.cs
- PolicyStatement.cs
- DbConnectionPoolGroupProviderInfo.cs
- ServiceDesigner.cs
- BitmapCodecInfoInternal.cs
- XmlKeywords.cs
- XPathChildIterator.cs
- CorrelationHandle.cs
- BitmapFrameEncode.cs
- SignerInfo.cs
- ListSortDescription.cs
- RadioButtonAutomationPeer.cs
- MetadataArtifactLoader.cs
- SamlNameIdentifierClaimResource.cs
- QilScopedVisitor.cs
- AdornerHitTestResult.cs
- ResourceIDHelper.cs
- DateTimeOffset.cs
- JournalNavigationScope.cs
- ProfileSettingsCollection.cs
- UserInitiatedNavigationPermission.cs
- KeyTime.cs
- ScriptingRoleServiceSection.cs
- CodeParameterDeclarationExpression.cs
- QualificationDataAttribute.cs
- Utils.cs
- ToolBar.cs
- RenderOptions.cs
- OperationFormatter.cs
- DoubleAnimationUsingKeyFrames.cs
- connectionpool.cs
- SiteMapDataSource.cs
- CatalogZone.cs
- OdbcException.cs
- StyleCollectionEditor.cs
- WebContext.cs
- TypeConverterMarkupExtension.cs
- ObjectSpanRewriter.cs
- GZipDecoder.cs
- Line.cs
- VectorAnimation.cs
- AsymmetricSignatureFormatter.cs
- ProcessProtocolHandler.cs
- XsltArgumentList.cs
- LinqToSqlWrapper.cs
- arabicshape.cs
- ErrorInfoXmlDocument.cs
- Splitter.cs
- DataControlPagerLinkButton.cs
- XmlQueryContext.cs
- Activator.cs
- ResourceSet.cs
- DataKeyArray.cs
- InstalledFontCollection.cs
- ElasticEase.cs
- EntitySet.cs
- BitmapScalingModeValidation.cs
- NavigationProgressEventArgs.cs
- XmlSchemaSet.cs
- mansign.cs
- DeploymentExceptionMapper.cs
- TrustLevelCollection.cs
- Border.cs
- UnsupportedPolicyOptionsException.cs
- SetIterators.cs
- CustomValidator.cs
- DataGridRowHeader.cs
- KoreanLunisolarCalendar.cs
- XmlDataImplementation.cs
- ParsedAttributeCollection.cs
- RoleGroupCollection.cs