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
- BitStack.cs
- ACE.cs
- CompilerParameters.cs
- TextModifier.cs
- HtmlTitle.cs
- EmbeddedMailObject.cs
- DictionaryKeyPropertyAttribute.cs
- TrustLevel.cs
- SR.cs
- TypeContext.cs
- DoubleAnimationUsingKeyFrames.cs
- RootNamespaceAttribute.cs
- AndMessageFilterTable.cs
- UpdateProgress.cs
- CodeDirectiveCollection.cs
- Pair.cs
- ConfigurationSection.cs
- EventLogPermissionEntryCollection.cs
- AutomationProperty.cs
- ContentDisposition.cs
- DataControlReferenceCollection.cs
- ContentPresenter.cs
- Select.cs
- SqlConnectionString.cs
- SignedXml.cs
- Privilege.cs
- InstanceDataCollection.cs
- WebBrowserNavigatingEventHandler.cs
- CreateUserErrorEventArgs.cs
- EntityAdapter.cs
- ResetableIterator.cs
- EllipticalNodeOperations.cs
- BatchStream.cs
- CommandHelper.cs
- CapacityStreamGeometryContext.cs
- StrongNameIdentityPermission.cs
- SqlUtils.cs
- Brushes.cs
- DictionaryChange.cs
- EnterpriseServicesHelper.cs
- XmlElementCollection.cs
- Light.cs
- Mutex.cs
- ElementUtil.cs
- RootDesignerSerializerAttribute.cs
- IntegerValidatorAttribute.cs
- UInt16Storage.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SocketAddress.cs
- DrawListViewColumnHeaderEventArgs.cs
- ScrollData.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SecurityCriticalDataForSet.cs
- FontStretch.cs
- SiteMapPathDesigner.cs
- GenericsNotImplementedException.cs
- EntityDataSourceQueryBuilder.cs
- XmlSchemaCompilationSettings.cs
- EncodedStreamFactory.cs
- ContractCodeDomInfo.cs
- RouteValueDictionary.cs
- SystemIPGlobalProperties.cs
- HttpRuntimeSection.cs
- ContentType.cs
- ChooseAction.cs
- InfoCard.cs
- TypedElement.cs
- WebServiceTypeData.cs
- TextDecorations.cs
- Mapping.cs
- SqlUdtInfo.cs
- WindowsListViewGroupHelper.cs
- ZipQueryOperator.cs
- DataControlFieldCollection.cs
- ClientEventManager.cs
- ValidatingPropertiesEventArgs.cs
- MailSettingsSection.cs
- InheritablePropertyChangeInfo.cs
- BuilderInfo.cs
- RegexCapture.cs
- AdCreatedEventArgs.cs
- XPathNode.cs
- XmlSerializerFactory.cs
- Environment.cs
- DialogResultConverter.cs
- ToolStrip.cs
- ComponentGlyph.cs
- CompilerTypeWithParams.cs
- SqlError.cs
- XmlLanguageConverter.cs
- Point3DAnimation.cs
- Rotation3D.cs
- OracleConnectionStringBuilder.cs
- AssemblyCollection.cs
- RectangleF.cs
- SqlLiftWhereClauses.cs
- AutoResetEvent.cs
- DeadCharTextComposition.cs
- XmlSchemaIdentityConstraint.cs
- UnitySerializationHolder.cs