Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleType.cs / 1 / XmlSchemaSimpleType.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; using System.Diagnostics; ////// /// public class XmlSchemaSimpleType : XmlSchemaType { XmlSchemaSimpleTypeContent content; ///[To be supplied.] ////// /// public XmlSchemaSimpleType() { Debug.Assert(SchemaContentType == XmlSchemaContentType.TextOnly); } ///[To be supplied.] ///[XmlElement("restriction", typeof(XmlSchemaSimpleTypeRestriction)), XmlElement("list", typeof(XmlSchemaSimpleTypeList)), XmlElement("union", typeof(XmlSchemaSimpleTypeUnion))] public XmlSchemaSimpleTypeContent Content { get { return content; } set { content = value; } } internal override XmlQualifiedName DerivedFrom { get { if (content == null) { // type derived from anyType return XmlQualifiedName.Empty; } if (content is XmlSchemaSimpleTypeRestriction) { return ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName; } return XmlQualifiedName.Empty; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleType newSimpleType = (XmlSchemaSimpleType)MemberwiseClone(); if (content != null) { newSimpleType.Content = (XmlSchemaSimpleTypeContent)content.Clone(); } return newSimpleType; } } } // 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
- Timer.cs
- RegexRunner.cs
- UnsafePeerToPeerMethods.cs
- PrimitiveType.cs
- ExecutionContext.cs
- Hash.cs
- TableAdapterManagerHelper.cs
- PeerName.cs
- BinaryConverter.cs
- BitmapEffect.cs
- TextServicesCompartmentEventSink.cs
- ControlTemplate.cs
- TagPrefixInfo.cs
- RadioButton.cs
- HelpKeywordAttribute.cs
- XmlAnyAttributeAttribute.cs
- BypassElementCollection.cs
- SqlProfileProvider.cs
- DeflateEmulationStream.cs
- WrapPanel.cs
- BlurBitmapEffect.cs
- XmlDigitalSignatureProcessor.cs
- WebBrowserEvent.cs
- DynamicField.cs
- UIElement3D.cs
- DataGridViewHitTestInfo.cs
- SecureUICommand.cs
- Int64Animation.cs
- HtmlTitle.cs
- DrawingContext.cs
- XmlNavigatorStack.cs
- TrackPoint.cs
- MaterialCollection.cs
- GuidelineCollection.cs
- Task.cs
- ManagementQuery.cs
- SoapObjectInfo.cs
- XsdDuration.cs
- RenderOptions.cs
- ProcessStartInfo.cs
- ListenerSessionConnectionReader.cs
- ServiceDesigner.cs
- Int64Storage.cs
- PassportAuthenticationModule.cs
- parserscommon.cs
- X509RawDataKeyIdentifierClause.cs
- Attribute.cs
- ThemeConfigurationDialog.cs
- MediaSystem.cs
- Point3DValueSerializer.cs
- DataControlFieldHeaderCell.cs
- Point3DIndependentAnimationStorage.cs
- RoutingEndpointTrait.cs
- OleDbInfoMessageEvent.cs
- MeasurementDCInfo.cs
- CmsInterop.cs
- InteropBitmapSource.cs
- XmlILModule.cs
- FullTrustAssemblyCollection.cs
- Label.cs
- XmlBaseReader.cs
- RemotingConfigParser.cs
- ScrollBarRenderer.cs
- EventProviderWriter.cs
- AnimationClock.cs
- DiscoveryRequestHandler.cs
- BorderGapMaskConverter.cs
- BadImageFormatException.cs
- ScriptControlManager.cs
- EntityContainerEntitySetDefiningQuery.cs
- ProfileManager.cs
- ToolStripArrowRenderEventArgs.cs
- StoryFragments.cs
- MediaScriptCommandRoutedEventArgs.cs
- ProxyGenerationError.cs
- StatusBarPanel.cs
- ParameterToken.cs
- QueryReaderSettings.cs
- CombinedGeometry.cs
- TdsParserSessionPool.cs
- SatelliteContractVersionAttribute.cs
- DesignerToolStripControlHost.cs
- DetailsViewUpdatedEventArgs.cs
- ProfessionalColorTable.cs
- DataGridViewUtilities.cs
- EventListenerClientSide.cs
- RepeatInfo.cs
- MemberProjectedSlot.cs
- CodeNamespace.cs
- CompleteWizardStep.cs
- LookupNode.cs
- GatewayIPAddressInformationCollection.cs
- InputProcessorProfilesLoader.cs
- Qualifier.cs
- ThreadStartException.cs
- UserControlDocumentDesigner.cs
- ContextMenuService.cs
- MtomMessageEncodingBindingElement.cs
- KnownAssemblyEntry.cs
- UxThemeWrapper.cs