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
- TempFiles.cs
- WizardPanel.cs
- IdentityHolder.cs
- ElementAction.cs
- WindowsButton.cs
- HtmlControlPersistable.cs
- SmiContext.cs
- CommandEventArgs.cs
- TreeView.cs
- FunctionOverloadResolver.cs
- WorkflowDataContext.cs
- EntityDataSourceDataSelection.cs
- WorkflowService.cs
- RemoteHelper.cs
- CalloutQueueItem.cs
- EntityDataSourceSelectingEventArgs.cs
- MexBindingBindingCollectionElement.cs
- TdsParserStateObject.cs
- AnnotationHelper.cs
- StagingAreaInputItem.cs
- ParseElement.cs
- Int64Converter.cs
- SystemIcmpV4Statistics.cs
- ObjectKeyFrameCollection.cs
- DefinitionBase.cs
- XmlDataSourceView.cs
- CodeSubDirectoriesCollection.cs
- MethodMessage.cs
- NoClickablePointException.cs
- ConstNode.cs
- AutomationTextAttribute.cs
- HttpsTransportBindingElement.cs
- ProcessModule.cs
- BaseTemplateParser.cs
- DbConnectionPoolCounters.cs
- ExpressionBuilderCollection.cs
- FontWeightConverter.cs
- Expression.cs
- ReadOnlyMetadataCollection.cs
- ToolStripPanelSelectionGlyph.cs
- Comparer.cs
- WebPageTraceListener.cs
- SimpleWebHandlerParser.cs
- ObjectListDesigner.cs
- HostSecurityManager.cs
- TreeChangeInfo.cs
- SatelliteContractVersionAttribute.cs
- MatrixAnimationUsingPath.cs
- MarkedHighlightComponent.cs
- Paragraph.cs
- ListViewItem.cs
- TimeZone.cs
- ProjectionCamera.cs
- WindowsListViewGroup.cs
- ArrayElementGridEntry.cs
- ResumeStoryboard.cs
- TemplateField.cs
- Context.cs
- XpsColorContext.cs
- TableChangeProcessor.cs
- CfgParser.cs
- BitmapMetadata.cs
- RelationshipFixer.cs
- Automation.cs
- WebPartTransformerCollection.cs
- ResourceReferenceExpressionConverter.cs
- XmlQualifiedName.cs
- URLIdentityPermission.cs
- CompositeControl.cs
- ObjectStateFormatter.cs
- HandlerWithFactory.cs
- Preprocessor.cs
- MenuAdapter.cs
- NameValueCollection.cs
- DesignTimeData.cs
- ImageKeyConverter.cs
- OverflowException.cs
- DbModificationCommandTree.cs
- SqlCommand.cs
- ListComponentEditor.cs
- RawStylusSystemGestureInputReport.cs
- DayRenderEvent.cs
- JoinTreeNode.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DispatcherHooks.cs
- ControlCachePolicy.cs
- StringResourceManager.cs
- MachineSettingsSection.cs
- RefType.cs
- ReceiveDesigner.xaml.cs
- Trustee.cs
- MdiWindowListStrip.cs
- BindingCollection.cs
- Pool.cs
- HighContrastHelper.cs
- X509CertificateRecipientClientCredential.cs
- MultiBindingExpression.cs
- BufferBuilder.cs
- ContainerFilterService.cs
- ControlPropertyNameConverter.cs