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
- XPathNodePointer.cs
- IResourceProvider.cs
- WindowsGraphics2.cs
- IImplicitResourceProvider.cs
- DefaultBinder.cs
- ZipIOExtraField.cs
- ProgressBarAutomationPeer.cs
- Material.cs
- CodeBinaryOperatorExpression.cs
- ConstraintConverter.cs
- SafeTimerHandle.cs
- TargetControlTypeCache.cs
- PaperSize.cs
- FixedHyperLink.cs
- PrimitiveOperationFormatter.cs
- RegisteredDisposeScript.cs
- InkCanvasAutomationPeer.cs
- ElementUtil.cs
- SystemIdentity.cs
- PrintDialog.cs
- SubordinateTransaction.cs
- DetailsViewDeleteEventArgs.cs
- SharedStream.cs
- LinqDataSourceView.cs
- InstanceHandleConflictException.cs
- PersonalizationStateInfo.cs
- BaseParaClient.cs
- BulletedList.cs
- TextEditorParagraphs.cs
- DesignerActionTextItem.cs
- RoleBoolean.cs
- OperationFormatStyle.cs
- XmlElementAttributes.cs
- InkCanvasSelectionAdorner.cs
- EndpointDesigner.cs
- BitmapEffectvisualstate.cs
- StandardToolWindows.cs
- GradientStop.cs
- Propagator.Evaluator.cs
- Variable.cs
- TableCell.cs
- FactoryId.cs
- MethodAccessException.cs
- SpotLight.cs
- TextMetrics.cs
- HorizontalAlignConverter.cs
- ListSurrogate.cs
- DocumentViewerBaseAutomationPeer.cs
- KerberosTicketHashIdentifierClause.cs
- PageHandlerFactory.cs
- ObjectView.cs
- CookieHandler.cs
- ScrollEventArgs.cs
- DesignerDeviceConfig.cs
- CursorEditor.cs
- TraceInternal.cs
- DesignerVerbCollection.cs
- AnonymousIdentificationSection.cs
- WmlCommandAdapter.cs
- ObjectDisposedException.cs
- AppSettingsExpressionBuilder.cs
- ChooseAction.cs
- ExpressionVisitor.cs
- GridViewCommandEventArgs.cs
- ApplicationInfo.cs
- SQLRoleProvider.cs
- StylusOverProperty.cs
- ConstraintEnumerator.cs
- XmlDataSourceNodeDescriptor.cs
- FixedSOMFixedBlock.cs
- DataGridColumnFloatingHeader.cs
- SimpleType.cs
- SQLInt32.cs
- webeventbuffer.cs
- DataGridViewButtonCell.cs
- CreateUserWizardDesigner.cs
- UInt16Converter.cs
- SplineKeyFrames.cs
- HttpPostClientProtocol.cs
- NonClientArea.cs
- CodeAttachEventStatement.cs
- WebPartCloseVerb.cs
- PassportAuthenticationModule.cs
- DCSafeHandle.cs
- ButtonChrome.cs
- SimpleHandlerBuildProvider.cs
- DataGridCommandEventArgs.cs
- XPathSelectionIterator.cs
- OdbcHandle.cs
- HttpResponseInternalBase.cs
- CanonicalFontFamilyReference.cs
- SelectionPattern.cs
- DataGridComboBoxColumn.cs
- MessageQueuePermissionEntry.cs
- FileEnumerator.cs
- DataGrid.cs
- WebScriptClientGenerator.cs
- XmlQueryTypeFactory.cs
- XmlILConstructAnalyzer.cs
- ListControlActionList.cs