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
- PrintPreviewControl.cs
- DependencyPropertyDescriptor.cs
- Task.cs
- HandledEventArgs.cs
- ADMembershipUser.cs
- TransformerTypeCollection.cs
- DataFormats.cs
- GroupBox.cs
- NodeLabelEditEvent.cs
- Wizard.cs
- DataObjectFieldAttribute.cs
- BuiltInExpr.cs
- ExpandableObjectConverter.cs
- JournalEntryListConverter.cs
- NextPreviousPagerField.cs
- NamedPipeTransportBindingElement.cs
- FilteredAttributeCollection.cs
- InstallerTypeAttribute.cs
- LinearGradientBrush.cs
- Label.cs
- webclient.cs
- FontSourceCollection.cs
- ListViewDataItem.cs
- XmlAnyAttributeAttribute.cs
- TypeDescriptionProviderAttribute.cs
- SqlXml.cs
- UInt16Converter.cs
- ClientTarget.cs
- XmlSecureResolver.cs
- NullRuntimeConfig.cs
- CompiledRegexRunner.cs
- ButtonStandardAdapter.cs
- SearchForVirtualItemEventArgs.cs
- ThumbAutomationPeer.cs
- SqlCacheDependencySection.cs
- SecurityState.cs
- ConfigurationLocation.cs
- C14NUtil.cs
- Image.cs
- CodeTypeDeclaration.cs
- DropDownList.cs
- ChannelManager.cs
- DbParameterHelper.cs
- KeyInfo.cs
- FuncTypeConverter.cs
- ConfigurationStrings.cs
- OpCopier.cs
- DirectoryNotFoundException.cs
- LocalizabilityAttribute.cs
- SizeConverter.cs
- updatecommandorderer.cs
- COSERVERINFO.cs
- CustomServiceCredentials.cs
- VisualStateGroup.cs
- activationcontext.cs
- WebServiceClientProxyGenerator.cs
- InternalConfigEventArgs.cs
- DocumentGrid.cs
- HtmlTable.cs
- HierarchicalDataSourceConverter.cs
- StringWriter.cs
- DBCSCodePageEncoding.cs
- URLMembershipCondition.cs
- TextTrailingWordEllipsis.cs
- UpdatePanelTriggerCollection.cs
- SoapAttributes.cs
- XamlToRtfWriter.cs
- Resources.Designer.cs
- SafePEFileHandle.cs
- EventDescriptor.cs
- TextBoxRenderer.cs
- Typography.cs
- TextFindEngine.cs
- SmtpNetworkElement.cs
- CriticalFinalizerObject.cs
- ClearCollection.cs
- SafeWaitHandle.cs
- HttpCacheVary.cs
- SqlTopReducer.cs
- ConfigUtil.cs
- UpdatePanelTrigger.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- HttpRawResponse.cs
- PropagationProtocolsTracing.cs
- XhtmlMobileTextWriter.cs
- WebConfigurationFileMap.cs
- SiteMembershipCondition.cs
- Accessible.cs
- CodeMemberMethod.cs
- DataGridColumnCollection.cs
- RuntimeConfigLKG.cs
- Point4DConverter.cs
- MiniConstructorInfo.cs
- CellParaClient.cs
- ConnectionDemuxer.cs
- SqlClientFactory.cs
- ScriptingSectionGroup.cs
- XmlSchemaSimpleTypeRestriction.cs
- TcpClientSocketManager.cs
- SoapAttributeAttribute.cs