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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PresentationAppDomainManager.cs
- DBCommand.cs
- OpenTypeLayoutCache.cs
- DesignerOptionService.cs
- EncryptedReference.cs
- WsdlBuildProvider.cs
- ParallelActivityDesigner.cs
- WpfPayload.cs
- CodeCompiler.cs
- WebPartTracker.cs
- XmlChildNodes.cs
- ScriptResourceHandler.cs
- RoutedPropertyChangedEventArgs.cs
- Comparer.cs
- ComponentGuaranteesAttribute.cs
- CommandConverter.cs
- contentDescriptor.cs
- TextClipboardData.cs
- SHA256CryptoServiceProvider.cs
- BitSet.cs
- SmtpFailedRecipientsException.cs
- DeclarativeExpressionConditionDeclaration.cs
- DataGridViewSelectedRowCollection.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- SapiRecoInterop.cs
- Rectangle.cs
- WinFormsSecurity.cs
- FixedSOMSemanticBox.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ToolStripProgressBar.cs
- DataSourceSelectArguments.cs
- RowsCopiedEventArgs.cs
- InlineCategoriesDocument.cs
- DeriveBytes.cs
- InputProviderSite.cs
- Setter.cs
- ToolStripDropDownItem.cs
- IPipelineRuntime.cs
- GACMembershipCondition.cs
- OutOfProcStateClientManager.cs
- BindingCompleteEventArgs.cs
- CommandLibraryHelper.cs
- InfoCardServiceInstallComponent.cs
- StaticTextPointer.cs
- HandleRef.cs
- CultureInfoConverter.cs
- ByteStorage.cs
- ChannelDispatcher.cs
- ClientSession.cs
- Context.cs
- ByteArrayHelperWithString.cs
- MonitorWrapper.cs
- AssemblyResourceLoader.cs
- RowCache.cs
- RequestResizeEvent.cs
- DependencyPropertyConverter.cs
- ClientEventManager.cs
- MarkupObject.cs
- SrgsItemList.cs
- MarshalByRefObject.cs
- ObjectParameter.cs
- WeakReferenceList.cs
- GetIsBrowserClientRequest.cs
- RegexMatchCollection.cs
- ISFTagAndGuidCache.cs
- SqlDuplicator.cs
- WindowsListViewSubItem.cs
- XPathNavigator.cs
- DisposableCollectionWrapper.cs
- ConstantSlot.cs
- ParentUndoUnit.cs
- BaseEntityWrapper.cs
- HtmlInputButton.cs
- RelationshipConstraintValidator.cs
- OledbConnectionStringbuilder.cs
- ToolboxCategoryItems.cs
- SecurityCapabilities.cs
- StylusPointDescription.cs
- OrderedDictionaryStateHelper.cs
- DataBindingHandlerAttribute.cs
- TableLayoutColumnStyleCollection.cs
- SectionInformation.cs
- CodeBlockBuilder.cs
- CodeThrowExceptionStatement.cs
- WindowsUpDown.cs
- GeneralTransform3DTo2DTo3D.cs
- BinaryParser.cs
- ListSourceHelper.cs
- XmlArrayItemAttribute.cs
- HtmlTernaryTree.cs
- BlobPersonalizationState.cs
- ImageDrawing.cs
- BinaryObjectReader.cs
- CustomSignedXml.cs
- CombinedGeometry.cs
- MarkupCompiler.cs
- XamlRtfConverter.cs
- StreamWriter.cs
- SecureConversationVersion.cs
- PageBreakRecord.cs