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
- FrameworkContextData.cs
- XPathNavigatorKeyComparer.cs
- HttpSocketManager.cs
- BaseTemplateParser.cs
- PreservationFileWriter.cs
- TreeIterators.cs
- ChangePassword.cs
- HandlerWithFactory.cs
- SectionInput.cs
- LogAppendAsyncResult.cs
- AttachedPropertyBrowsableAttribute.cs
- DataSysAttribute.cs
- ClientRolePrincipal.cs
- DisposableCollectionWrapper.cs
- ThreadExceptionDialog.cs
- UnsafeNativeMethods.cs
- FixedDocumentPaginator.cs
- StylusPointCollection.cs
- TypeUtils.cs
- LocalBuilder.cs
- OuterProxyWrapper.cs
- oledbmetadatacollectionnames.cs
- BindStream.cs
- Guid.cs
- TreeSet.cs
- RepeaterItemEventArgs.cs
- GridViewColumn.cs
- ContentPosition.cs
- FormsAuthenticationConfiguration.cs
- XmlIlGenerator.cs
- CompareValidator.cs
- MachineKeySection.cs
- PointHitTestResult.cs
- DependencyPropertyKey.cs
- XmlElementAttributes.cs
- LastQueryOperator.cs
- BackgroundWorker.cs
- HighContrastHelper.cs
- Hex.cs
- SqlConnectionStringBuilder.cs
- Font.cs
- EventLogException.cs
- FastEncoderWindow.cs
- AttachmentCollection.cs
- TemplateColumn.cs
- InputDevice.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- QueryOptionExpression.cs
- MailDefinitionBodyFileNameEditor.cs
- TableLayoutPanelCellPosition.cs
- CommonDialog.cs
- Int32CollectionValueSerializer.cs
- ComPlusServiceHost.cs
- AnnotationAuthorChangedEventArgs.cs
- SerializableAttribute.cs
- PhysicalFontFamily.cs
- Decoder.cs
- SamlSecurityToken.cs
- ProgressBar.cs
- RectConverter.cs
- InstanceCreationEditor.cs
- XmlSchemaSimpleContentExtension.cs
- AddInProcess.cs
- ComponentEditorPage.cs
- SqlIdentifier.cs
- ImageBrush.cs
- PolyBezierSegment.cs
- PerformanceCounterLib.cs
- ResourcePermissionBase.cs
- sqlinternaltransaction.cs
- UserPersonalizationStateInfo.cs
- DataContext.cs
- assemblycache.cs
- NumericExpr.cs
- PointLight.cs
- AccessedThroughPropertyAttribute.cs
- ConfigurationException.cs
- SmiMetaData.cs
- GC.cs
- HandlerBase.cs
- WorkflowApplicationEventArgs.cs
- HttpInputStream.cs
- SessionStateModule.cs
- KeyInstance.cs
- DocumentApplicationState.cs
- ContravarianceAdapter.cs
- DataGridViewRowPostPaintEventArgs.cs
- MethodRental.cs
- ComponentResourceManager.cs
- TargetInvocationException.cs
- PenLineCapValidation.cs
- Timer.cs
- StringComparer.cs
- DesignerUtils.cs
- InfoCardX509Validator.cs
- ServicePointManager.cs
- HttpRuntime.cs
- SqlDataSourceSelectingEventArgs.cs
- LinkedList.cs
- Query.cs