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
- OdbcCommand.cs
- OdbcParameter.cs
- DeclaredTypeValidatorAttribute.cs
- FocusChangedEventArgs.cs
- ExtendedPropertiesHandler.cs
- dataprotectionpermissionattribute.cs
- FlowLayoutPanel.cs
- ToolboxComponentsCreatedEventArgs.cs
- SortQueryOperator.cs
- PrimitiveCodeDomSerializer.cs
- Win32Native.cs
- PerfCounterSection.cs
- PeerOutputChannel.cs
- XNodeNavigator.cs
- DeploymentSectionCache.cs
- ExternalException.cs
- WebBrowserUriTypeConverter.cs
- XmlSerializerVersionAttribute.cs
- DataBoundLiteralControl.cs
- MimeFormatter.cs
- MailAddressCollection.cs
- CodeCastExpression.cs
- DependencyPropertyValueSerializer.cs
- FormViewUpdatedEventArgs.cs
- Attributes.cs
- IsolatedStorageFile.cs
- DataGridViewCellLinkedList.cs
- XmlSchemaSubstitutionGroup.cs
- VisualProxy.cs
- WebServiceResponse.cs
- serverconfig.cs
- FixedFlowMap.cs
- NonDualMessageSecurityOverHttpElement.cs
- Region.cs
- WCFServiceClientProxyGenerator.cs
- GlobalizationAssembly.cs
- XmlSignificantWhitespace.cs
- AttributeTableBuilder.cs
- SimpleFileLog.cs
- MimeTypeAttribute.cs
- ProgressBar.cs
- ListViewHitTestInfo.cs
- UInt32Converter.cs
- cookiecontainer.cs
- ContentDisposition.cs
- DeclaredTypeValidatorAttribute.cs
- RtType.cs
- InputBinding.cs
- PerformanceCounterManager.cs
- AuthenticationService.cs
- XsltException.cs
- WorkflowServiceHost.cs
- XmlSerializerFactory.cs
- WebPartVerbCollection.cs
- SqlXmlStorage.cs
- PageAdapter.cs
- SpinLock.cs
- SqlNode.cs
- ChoiceConverter.cs
- ProxyRpc.cs
- SegmentInfo.cs
- SqlEnums.cs
- UdpConstants.cs
- DecoderBestFitFallback.cs
- securestring.cs
- ApplicationInfo.cs
- ApplicationInterop.cs
- FileIOPermission.cs
- TextTreeObjectNode.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ProcessHostFactoryHelper.cs
- StructuralType.cs
- SqlDependencyListener.cs
- FontFamilyIdentifier.cs
- ColorInterpolationModeValidation.cs
- DropDownHolder.cs
- SrgsOneOf.cs
- ByteAnimation.cs
- HighlightComponent.cs
- MenuItemStyle.cs
- TransformerTypeCollection.cs
- TextCompositionManager.cs
- BindingContext.cs
- XmlValidatingReader.cs
- SiteMapPath.cs
- AutoSizeComboBox.cs
- WindowsRichEdit.cs
- TextEffect.cs
- GlyphingCache.cs
- UserPersonalizationStateInfo.cs
- BatchParser.cs
- ApplicationException.cs
- BulletedList.cs
- ProgressBarBrushConverter.cs
- AuthenticationModulesSection.cs
- ResourceType.cs
- Logging.cs
- Slider.cs
- CorrelationService.cs
- EventListener.cs