Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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
- CodeTypeParameter.cs
- TouchDevice.cs
- TextMarkerSource.cs
- AppSettingsExpressionBuilder.cs
- TranslateTransform.cs
- EnumMember.cs
- WriteableBitmap.cs
- DbException.cs
- PropertyOverridesDialog.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataObjectAttribute.cs
- WindowsAltTab.cs
- StdValidatorsAndConverters.cs
- DataSourceCacheDurationConverter.cs
- dataobject.cs
- XmlSchemaRedefine.cs
- MergeFailedEvent.cs
- SystemDiagnosticsSection.cs
- Win32.cs
- StandardTransformFactory.cs
- AttributeProviderAttribute.cs
- ToolBarButton.cs
- SlotInfo.cs
- FullTextLine.cs
- AnnouncementInnerClientCD1.cs
- TypeElementCollection.cs
- Memoizer.cs
- TextLineResult.cs
- PropertyChangedEventManager.cs
- HtmlEncodedRawTextWriter.cs
- ToolStripRendererSwitcher.cs
- SerialErrors.cs
- InkPresenterAutomationPeer.cs
- FixedSOMGroup.cs
- GrammarBuilder.cs
- StorageMappingFragment.cs
- Globals.cs
- DefaultAutoFieldGenerator.cs
- ToolStripItemClickedEventArgs.cs
- UIElementCollection.cs
- SafeRightsManagementSessionHandle.cs
- PersonalizationState.cs
- PropertyFilterAttribute.cs
- Exceptions.cs
- Stylus.cs
- _ConnectionGroup.cs
- CellCreator.cs
- PopOutPanel.cs
- PointHitTestParameters.cs
- StringArrayConverter.cs
- DataColumnMapping.cs
- InternalEnumValidator.cs
- DataPointer.cs
- XmlDocument.cs
- CompressedStack.cs
- DataSourceProvider.cs
- AQNBuilder.cs
- IntSecurity.cs
- TokenBasedSetEnumerator.cs
- ComEventsInfo.cs
- SqlDataSource.cs
- XslTransform.cs
- Rijndael.cs
- Monitor.cs
- DataServiceContext.cs
- FixUp.cs
- DataServiceStreamProviderWrapper.cs
- SBCSCodePageEncoding.cs
- ThreadStaticAttribute.cs
- AggregateNode.cs
- DataGridViewDataErrorEventArgs.cs
- LayoutEditorPart.cs
- SqlLiftWhereClauses.cs
- Pkcs7Signer.cs
- CqlWriter.cs
- EdmItemError.cs
- DataBindingHandlerAttribute.cs
- CapabilitiesSection.cs
- DifferencingCollection.cs
- BehaviorEditorPart.cs
- MonitorWrapper.cs
- DateTimeFormatInfo.cs
- SmtpMail.cs
- AnimatedTypeHelpers.cs
- Rotation3DAnimation.cs
- ConsoleTraceListener.cs
- filewebresponse.cs
- ReadOnlyPermissionSet.cs
- XmlTypeAttribute.cs
- SqlClientWrapperSmiStreamChars.cs
- DataGridViewDesigner.cs
- TextSelection.cs
- TextPointerBase.cs
- LogicalTreeHelper.cs
- PrintPreviewControl.cs
- BitmapEffectState.cs
- BamlResourceDeserializer.cs
- ThrowOnMultipleAssignment.cs
- XmlDictionary.cs
- BufferedGraphicsManager.cs