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
- XmlNodeList.cs
- DSASignatureDeformatter.cs
- RequestQueryParser.cs
- NamedElement.cs
- COM2ExtendedBrowsingHandler.cs
- DefaultAutoFieldGenerator.cs
- ArraySortHelper.cs
- PeerEndPoint.cs
- ProcessHostConfigUtils.cs
- TextEditorCopyPaste.cs
- SmtpReplyReaderFactory.cs
- TimerEventSubscription.cs
- FileInfo.cs
- MSAAEventDispatcher.cs
- Lasso.cs
- TemplateColumn.cs
- RealProxy.cs
- _FixedSizeReader.cs
- ClientApiGenerator.cs
- LinkedList.cs
- DPAPIProtectedConfigurationProvider.cs
- PrePrepareMethodAttribute.cs
- Binding.cs
- PopupEventArgs.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DefaultValueTypeConverter.cs
- PropertyIDSet.cs
- SchemaMapping.cs
- AspNetHostingPermission.cs
- Enlistment.cs
- CTreeGenerator.cs
- DataObjectFieldAttribute.cs
- StyleSelector.cs
- DropShadowBitmapEffect.cs
- EntityClassGenerator.cs
- WinFormsComponentEditor.cs
- ConfigurationException.cs
- VersionedStreamOwner.cs
- wgx_render.cs
- METAHEADER.cs
- StoreContentChangedEventArgs.cs
- MenuItemBindingCollection.cs
- RewritingSimplifier.cs
- FileRecordSequence.cs
- Constant.cs
- AppSettingsExpressionEditor.cs
- DownloadProgressEventArgs.cs
- BrowserPolicyValidator.cs
- ByteArrayHelperWithString.cs
- Cursors.cs
- SmiEventStream.cs
- SR.Designer.cs
- AffineTransform3D.cs
- EntityDataSourceReferenceGroup.cs
- TabPage.cs
- _FixedSizeReader.cs
- PageThemeCodeDomTreeGenerator.cs
- TreeViewEvent.cs
- IndexedDataBuffer.cs
- EntityViewGenerator.cs
- XmlSchemaAttribute.cs
- ExeContext.cs
- ScrollItemProviderWrapper.cs
- QueuedDeliveryRequirementsMode.cs
- CodeSpit.cs
- shaperfactory.cs
- Buffer.cs
- FlowchartDesigner.Helpers.cs
- ExpandedWrapper.cs
- IRCollection.cs
- tooltip.cs
- SoapHeaders.cs
- ListMarkerSourceInfo.cs
- UdpDiscoveryEndpoint.cs
- XD.cs
- RangeBaseAutomationPeer.cs
- SendDesigner.xaml.cs
- PathNode.cs
- EdmFunction.cs
- TimeSpanConverter.cs
- DownloadProgressEventArgs.cs
- ListSortDescription.cs
- BitmapEffectInputConnector.cs
- ReadingWritingEntityEventArgs.cs
- StrokeNodeData.cs
- DocumentPageHost.cs
- Base64Stream.cs
- TimeoutException.cs
- DataGridRowsPresenter.cs
- TargetPerspective.cs
- StylusButtonCollection.cs
- LoginUtil.cs
- ConnectionConsumerAttribute.cs
- AspNetPartialTrustHelpers.cs
- Style.cs
- ChtmlTextBoxAdapter.cs
- XmlIncludeAttribute.cs
- XmlSerializerAssemblyAttribute.cs
- EncryptedKey.cs
- SecurityTokenRequirement.cs