Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- DataMember.cs
- OleDbDataAdapter.cs
- CultureInfo.cs
- AppSettingsExpressionBuilder.cs
- ViewStateChangedEventArgs.cs
- WebPartDeleteVerb.cs
- XmlAttributes.cs
- DeclarativeCatalogPart.cs
- Floater.cs
- SQLString.cs
- Root.cs
- EntityContainer.cs
- SystemNetHelpers.cs
- InfoCardAsymmetricCrypto.cs
- ServiceErrorHandler.cs
- CheckBox.cs
- OrderByExpression.cs
- IndexedString.cs
- PeerHelpers.cs
- DataSourceHelper.cs
- HttpHandlerAction.cs
- CodeActivityContext.cs
- SimpleHandlerBuildProvider.cs
- Workspace.cs
- LayoutDump.cs
- DataTableClearEvent.cs
- RootProfilePropertySettingsCollection.cs
- DataGridCheckBoxColumn.cs
- ApplicationServiceManager.cs
- References.cs
- PathStreamGeometryContext.cs
- EventPropertyMap.cs
- PackageFilter.cs
- ToolBar.cs
- HandlerElement.cs
- XmlnsCache.cs
- WebPartConnectionCollection.cs
- SocketStream.cs
- FactoryGenerator.cs
- NameScopePropertyAttribute.cs
- LazyLoadBehavior.cs
- XmlQueryType.cs
- DiagnosticTrace.cs
- Int32CAMarshaler.cs
- updatecommandorderer.cs
- PropertyDescriptor.cs
- DataKey.cs
- ChannelSinkStacks.cs
- XmlDownloadManager.cs
- CompilerTypeWithParams.cs
- MDIControlStrip.cs
- SignedXml.cs
- NativeMethods.cs
- ContextConfiguration.cs
- CorrelationManager.cs
- TableLayoutColumnStyleCollection.cs
- QueryInterceptorAttribute.cs
- ApplicationId.cs
- OleDbStruct.cs
- ComponentEvent.cs
- ClientFormsIdentity.cs
- Tokenizer.cs
- SchemaImporterExtension.cs
- SystemTcpStatistics.cs
- FrameworkElement.cs
- DataGridViewTopLeftHeaderCell.cs
- XmlILConstructAnalyzer.cs
- ArgumentValidation.cs
- ToolStripItemGlyph.cs
- WebAdminConfigurationHelper.cs
- GiveFeedbackEventArgs.cs
- WriteFileContext.cs
- SignedXml.cs
- TextReturnReader.cs
- Decimal.cs
- KeyFrames.cs
- XmlUrlResolver.cs
- Header.cs
- HeaderedContentControl.cs
- WaitForChangedResult.cs
- DefaultHttpHandler.cs
- X509Utils.cs
- Buffer.cs
- RoleGroup.cs
- ConfigurationSettings.cs
- InputLanguageEventArgs.cs
- MetadataPropertyvalue.cs
- ComponentDispatcher.cs
- AlphabeticalEnumConverter.cs
- ContainerCodeDomSerializer.cs
- ProcessModelInfo.cs
- sqlser.cs
- DataGridView.cs
- EntityDataSource.cs
- LedgerEntry.cs
- ChtmlTextWriter.cs
- TagElement.cs
- NullableFloatMinMaxAggregationOperator.cs
- XmlJsonWriter.cs
- HostVisual.cs