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
- IndentedTextWriter.cs
- HttpWebResponse.cs
- cryptoapiTransform.cs
- TransactionFlowElement.cs
- FastPropertyAccessor.cs
- BitVector32.cs
- CombinedGeometry.cs
- OletxTransactionManager.cs
- SendActivityValidator.cs
- PolicyFactory.cs
- PlatformCulture.cs
- FileLevelControlBuilderAttribute.cs
- HostingEnvironment.cs
- HtmlUtf8RawTextWriter.cs
- DataObjectAttribute.cs
- ValueHandle.cs
- QilXmlWriter.cs
- ContainerAction.cs
- HttpProfileGroupBase.cs
- ExpressionWriter.cs
- X509InitiatorCertificateClientElement.cs
- RuntimeResourceSet.cs
- TextBox.cs
- StreamInfo.cs
- XmlSerializerFactory.cs
- SelectedGridItemChangedEvent.cs
- DataStorage.cs
- Animatable.cs
- AspCompat.cs
- IisHelper.cs
- CssTextWriter.cs
- PrintDialogException.cs
- ReferencedCollectionType.cs
- UnauthorizedWebPart.cs
- OleAutBinder.cs
- QilExpression.cs
- ClientCredentialsSecurityTokenManager.cs
- ExplicitDiscriminatorMap.cs
- OciLobLocator.cs
- _Semaphore.cs
- WindowsGraphicsCacheManager.cs
- ExpressionVisitor.cs
- ScriptControlManager.cs
- ReflectionHelper.cs
- NegationPusher.cs
- StringBuilder.cs
- XmlReflectionMember.cs
- CodeGenerator.cs
- TimeSpanConverter.cs
- EntityDescriptor.cs
- TimeSpanConverter.cs
- ResourceManager.cs
- XmlAttributeCollection.cs
- IdnElement.cs
- StartUpEventArgs.cs
- SettingsBase.cs
- _WinHttpWebProxyDataBuilder.cs
- ScrollProperties.cs
- DesignerDataSourceView.cs
- XsltSettings.cs
- ModulesEntry.cs
- PreDigestedSignedInfo.cs
- ButtonPopupAdapter.cs
- SplineKeyFrames.cs
- AutomationProperty.cs
- SystemInformation.cs
- FileSecurity.cs
- PageContentCollection.cs
- CorrelationTokenTypeConvertor.cs
- StorageTypeMapping.cs
- GenericEnumerator.cs
- Globals.cs
- Function.cs
- RecognizedWordUnit.cs
- ControlFilterExpression.cs
- WindowsAltTab.cs
- Popup.cs
- InfoCardKeyedHashAlgorithm.cs
- SpeechUI.cs
- AudioFileOut.cs
- SByteConverter.cs
- ImageAnimator.cs
- Brush.cs
- _OSSOCK.cs
- SqlNotificationRequest.cs
- AssociationTypeEmitter.cs
- DocumentPageHost.cs
- LogicalTreeHelper.cs
- StringValidatorAttribute.cs
- AnnotationHelper.cs
- IHttpResponseInternal.cs
- RegexCapture.cs
- RelatedEnd.cs
- IBuiltInEvidence.cs
- ServiceDescription.cs
- SqlUserDefinedAggregateAttribute.cs
- ObjectReaderCompiler.cs
- Int64AnimationUsingKeyFrames.cs
- EntityProviderFactory.cs
- SqlDataReaderSmi.cs