Code:
/ DotNET / DotNET / 8.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
- NamedObject.cs
- XmlDocument.cs
- IndexedGlyphRun.cs
- ItemsChangedEventArgs.cs
- GenericPrincipal.cs
- EditorBrowsableAttribute.cs
- SQLRoleProvider.cs
- WithParamAction.cs
- XmlSchemaSimpleTypeUnion.cs
- safex509handles.cs
- ToolBarOverflowPanel.cs
- ScopelessEnumAttribute.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DataGridViewColumnConverter.cs
- CodeConstructor.cs
- XmlSchemaSimpleTypeRestriction.cs
- ClickablePoint.cs
- XmlSchemaObject.cs
- MethodAccessException.cs
- FormClosingEvent.cs
- SqlDataRecord.cs
- NumberFormatInfo.cs
- _NegoStream.cs
- StreamResourceInfo.cs
- BoundsDrawingContextWalker.cs
- EnumerableRowCollection.cs
- GridViewRowEventArgs.cs
- CustomCredentialPolicy.cs
- SqlPersonalizationProvider.cs
- EmptyStringExpandableObjectConverter.cs
- ScrollChrome.cs
- SoapEnumAttribute.cs
- CodeExporter.cs
- TerminatingOperationBehavior.cs
- HashAlgorithm.cs
- BitmapImage.cs
- AsyncOperationManager.cs
- CodeArgumentReferenceExpression.cs
- GroupBox.cs
- WizardPanel.cs
- ServiceContractViewControl.cs
- BitFlagsGenerator.cs
- NullRuntimeConfig.cs
- SoapIncludeAttribute.cs
- TemplateBuilder.cs
- Converter.cs
- XsdDateTime.cs
- Registry.cs
- ReadContentAsBinaryHelper.cs
- DataGridTextBox.cs
- PrivilegeNotHeldException.cs
- SmiSettersStream.cs
- TextServicesHost.cs
- QilList.cs
- ComponentEvent.cs
- FreezableCollection.cs
- DynamicArgumentDialog.cs
- TemporaryBitmapFile.cs
- SingletonChannelAcceptor.cs
- LassoSelectionBehavior.cs
- ScrollBarAutomationPeer.cs
- CustomAttributeSerializer.cs
- SurrogateEncoder.cs
- DescendentsWalkerBase.cs
- WindowInteropHelper.cs
- NativeMethods.cs
- EditorPartChrome.cs
- FunctionDescription.cs
- BamlResourceContent.cs
- ByteViewer.cs
- ClockGroup.cs
- FileDialog_Vista.cs
- TextureBrush.cs
- MenuDesigner.cs
- DataPagerFieldItem.cs
- SmiTypedGetterSetter.cs
- SqlDataSourceCommandEventArgs.cs
- RolePrincipal.cs
- UIHelper.cs
- XsltException.cs
- PageContent.cs
- Tool.cs
- ContextMenuAutomationPeer.cs
- HtmlSelect.cs
- ToolStripItemCollection.cs
- X509Utils.cs
- QueryOptionExpression.cs
- BinaryParser.cs
- ScriptingRoleServiceSection.cs
- StandardTransformFactory.cs
- ScriptResourceMapping.cs
- UnauthorizedWebPart.cs
- ClientScriptManagerWrapper.cs
- GroupBox.cs
- DataGridViewCellValidatingEventArgs.cs
- FormsAuthenticationUserCollection.cs
- XmlNode.cs
- StickyNote.cs
- SecurityContext.cs
- StringFormat.cs