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
- SharedTcpTransportManager.cs
- ColorContextHelper.cs
- URLAttribute.cs
- SqlColumnizer.cs
- PromptBuilder.cs
- SqlErrorCollection.cs
- BitSet.cs
- UniqueEventHelper.cs
- SubstitutionDesigner.cs
- Mutex.cs
- Style.cs
- NumberFormatter.cs
- printdlgexmarshaler.cs
- BamlResourceDeserializer.cs
- XmlNavigatorStack.cs
- InOutArgumentConverter.cs
- ExecutionScope.cs
- StringCollection.cs
- ProviderConnectionPoint.cs
- RadioButtonRenderer.cs
- HttpFileCollection.cs
- DashStyle.cs
- ObjectStateFormatter.cs
- GlyphTypeface.cs
- PageStatePersister.cs
- ResourcesBuildProvider.cs
- LinearGradientBrush.cs
- AQNBuilder.cs
- WebConfigurationHost.cs
- ObjectDataSourceFilteringEventArgs.cs
- ToolboxService.cs
- CatalogZone.cs
- WebBrowserSiteBase.cs
- XmlCDATASection.cs
- ActivityExecutorSurrogate.cs
- TokenBasedSet.cs
- x509store.cs
- SoapSchemaImporter.cs
- WebPartTransformerCollection.cs
- SurrogateEncoder.cs
- FileReservationCollection.cs
- DataGridViewSelectedColumnCollection.cs
- EntityContainer.cs
- RoleService.cs
- XPathDocumentNavigator.cs
- SafeRegistryHandle.cs
- DbQueryCommandTree.cs
- IgnorePropertiesAttribute.cs
- SqlUDTStorage.cs
- StrongNameKeyPair.cs
- RandomNumberGenerator.cs
- EmptyCollection.cs
- EndEvent.cs
- QilStrConcatenator.cs
- SuppressMessageAttribute.cs
- PointCollectionConverter.cs
- SqlPersonalizationProvider.cs
- DbParameterCollectionHelper.cs
- SchemaImporterExtensionElement.cs
- Method.cs
- diagnosticsswitches.cs
- LocalIdKeyIdentifierClause.cs
- SiteMap.cs
- DateTimeValueSerializerContext.cs
- EntityDataSourceDataSelectionPanel.cs
- BaseServiceProvider.cs
- SmtpFailedRecipientException.cs
- CompilerTypeWithParams.cs
- TableRowGroup.cs
- ListViewSortEventArgs.cs
- safelink.cs
- LineSegment.cs
- CompilationLock.cs
- Window.cs
- OdbcConnectionString.cs
- IdleTimeoutMonitor.cs
- SendSecurityHeaderElementContainer.cs
- GPRECTF.cs
- ObjectTokenCategory.cs
- TreeViewImageKeyConverter.cs
- VectorKeyFrameCollection.cs
- ClientConfigurationSystem.cs
- PerformanceCounterLib.cs
- ByteAnimationUsingKeyFrames.cs
- ActivityTrace.cs
- FormViewDeletedEventArgs.cs
- ServiceModelTimeSpanValidator.cs
- AsyncCompletedEventArgs.cs
- SecurityDocument.cs
- PermissionListSet.cs
- ToolStripCollectionEditor.cs
- BooleanAnimationBase.cs
- MatrixKeyFrameCollection.cs
- Configuration.cs
- DiscoveryInnerClientAdhoc11.cs
- DocumentGridContextMenu.cs
- TextParagraphView.cs
- ContentFileHelper.cs
- XmlSchemaIdentityConstraint.cs
- ObjectSecurity.cs