Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleType.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContainerFilterService.cs
- StorageFunctionMapping.cs
- ServiceControllerDesigner.cs
- MappingItemCollection.cs
- WebPartConnectionsConfigureVerb.cs
- ClientScriptManager.cs
- _ProxyChain.cs
- LinkLabel.cs
- MsdtcClusterUtils.cs
- SecurityDescriptor.cs
- WebHttpDispatchOperationSelectorData.cs
- Quaternion.cs
- RemoteWebConfigurationHost.cs
- DocumentPaginator.cs
- BuildManagerHost.cs
- MultipleViewPatternIdentifiers.cs
- BackoffTimeoutHelper.cs
- SqlRemoveConstantOrderBy.cs
- Scheduler.cs
- SamlAssertionKeyIdentifierClause.cs
- TextComposition.cs
- WindowsListViewSubItem.cs
- cookiecontainer.cs
- DocComment.cs
- NetworkStream.cs
- PathData.cs
- AbstractExpressions.cs
- Attributes.cs
- ListSourceHelper.cs
- _BaseOverlappedAsyncResult.cs
- AsymmetricKeyExchangeFormatter.cs
- TemplateInstanceAttribute.cs
- CodeCatchClauseCollection.cs
- Property.cs
- SharedPersonalizationStateInfo.cs
- PixelFormats.cs
- StateManagedCollection.cs
- DictionaryBase.cs
- ReadWriteSpinLock.cs
- InputLanguageCollection.cs
- TrackingMemoryStreamFactory.cs
- ExceptionUtil.cs
- OverloadGroupAttribute.cs
- DoubleAnimationUsingKeyFrames.cs
- XmlSerializerNamespaces.cs
- QilGeneratorEnv.cs
- wgx_exports.cs
- unsafenativemethodsother.cs
- EUCJPEncoding.cs
- SystemException.cs
- DataGridItem.cs
- CriticalHandle.cs
- TraceHandler.cs
- XPathQueryGenerator.cs
- LocalizableResourceBuilder.cs
- ReliableMessagingVersionConverter.cs
- Expression.cs
- ProcessHostMapPath.cs
- WindowsIPAddress.cs
- ParameterReplacerVisitor.cs
- IOException.cs
- XmlReader.cs
- RuntimeVariablesExpression.cs
- VerticalAlignConverter.cs
- ConnectionInterfaceCollection.cs
- DbMetaDataColumnNames.cs
- TypeViewSchema.cs
- DateTimeParse.cs
- TypeHelpers.cs
- FilterElement.cs
- XmlStreamStore.cs
- Baml2006SchemaContext.cs
- ConcurrentBag.cs
- Empty.cs
- TemplatePagerField.cs
- ErrorFormatter.cs
- LinearGradientBrush.cs
- TrackingServices.cs
- AnonymousIdentificationModule.cs
- CommandDesigner.cs
- Highlights.cs
- ComponentRenameEvent.cs
- ValidationSummary.cs
- ArrayElementGridEntry.cs
- TextElementEnumerator.cs
- AuthenticateEventArgs.cs
- DBNull.cs
- DoubleAnimationUsingKeyFrames.cs
- MailWriter.cs
- ErrorTableItemStyle.cs
- RouteParametersHelper.cs
- WindowsProgressbar.cs
- DictionaryContent.cs
- DateTimeUtil.cs
- SqlCachedBuffer.cs
- ScrollViewerAutomationPeer.cs
- DbProviderFactoriesConfigurationHandler.cs
- PhonemeConverter.cs
- _SslStream.cs
- FacetEnabledSchemaElement.cs