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
- MembershipSection.cs
- returneventsaver.cs
- ErrorRuntimeConfig.cs
- ObjectParameterCollection.cs
- HtmlEncodedRawTextWriter.cs
- StylusButtonCollection.cs
- ShaderEffect.cs
- _HeaderInfoTable.cs
- PageThemeParser.cs
- HtmlString.cs
- errorpatternmatcher.cs
- ResourceDisplayNameAttribute.cs
- SchemaSetCompiler.cs
- HttpModuleCollection.cs
- TextAdaptor.cs
- EmptyCollection.cs
- DbModificationClause.cs
- PropertyItem.cs
- ItemContainerProviderWrapper.cs
- ProjectionCamera.cs
- ColorConverter.cs
- DefinitionProperties.cs
- TypeDefinition.cs
- SequentialOutput.cs
- InvalidEnumArgumentException.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Transform.cs
- BaseAddressPrefixFilterElementCollection.cs
- GeneralTransform.cs
- InstalledFontCollection.cs
- WorkflowApplicationIdleEventArgs.cs
- FamilyCollection.cs
- DataGridViewCellValueEventArgs.cs
- MiniCustomAttributeInfo.cs
- IsolatedStorageFile.cs
- DataRelationCollection.cs
- BaseParagraph.cs
- SerialReceived.cs
- ResourceIDHelper.cs
- EventLogPermissionAttribute.cs
- TabletCollection.cs
- HTMLTextWriter.cs
- _NegotiateClient.cs
- PersonalizationStateQuery.cs
- ValidatingPropertiesEventArgs.cs
- ContextProperty.cs
- ResourcesBuildProvider.cs
- Predicate.cs
- RuntimeIdentifierPropertyAttribute.cs
- SpecularMaterial.cs
- DataStreams.cs
- WorkflowHostingEndpoint.cs
- CodeCommentStatementCollection.cs
- DemultiplexingClientMessageFormatter.cs
- GeometryValueSerializer.cs
- Latin1Encoding.cs
- AuthenticatingEventArgs.cs
- ActiveXHost.cs
- PropertyMap.cs
- WindowAutomationPeer.cs
- KeyTime.cs
- Logging.cs
- Dynamic.cs
- IInstanceTable.cs
- Match.cs
- PersonalizationAdministration.cs
- NativeCompoundFileAPIs.cs
- NamespaceInfo.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- BitmapEffectvisualstate.cs
- QuaternionAnimationUsingKeyFrames.cs
- AlternationConverter.cs
- ImageMap.cs
- GridSplitter.cs
- StandardCommands.cs
- CodeTypeOfExpression.cs
- InputScope.cs
- PropertyFilterAttribute.cs
- CheckBoxPopupAdapter.cs
- WebServiceData.cs
- FileVersionInfo.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- DocumentViewer.cs
- VectorAnimation.cs
- XmlSchemaParticle.cs
- ProxyWebPartConnectionCollection.cs
- TypeDescriptor.cs
- ComNativeDescriptor.cs
- SortDescription.cs
- AssemblyBuilder.cs
- DtdParser.cs
- MailBnfHelper.cs
- ModelProperty.cs
- RtfToken.cs
- ByteStorage.cs
- MsmqInputMessage.cs
- VerificationException.cs
- CommonDialog.cs
- recordstatescratchpad.cs
- DynamicFilter.cs