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
- TextPointerBase.cs
- SizeConverter.cs
- DataGridViewHitTestInfo.cs
- SerialReceived.cs
- SchemaCollectionCompiler.cs
- SmuggledIUnknown.cs
- MarshalByRefObject.cs
- _SSPISessionCache.cs
- PictureBox.cs
- PageEventArgs.cs
- TemplateBamlRecordReader.cs
- _SslSessionsCache.cs
- FlowDocumentReader.cs
- DbDataReader.cs
- ManagementScope.cs
- SchemaInfo.cs
- XmlSchemaType.cs
- ArgumentOutOfRangeException.cs
- WpfKnownTypeInvoker.cs
- DragDeltaEventArgs.cs
- StrokeNodeEnumerator.cs
- TraceSwitch.cs
- ProjectionPruner.cs
- EditorOptionAttribute.cs
- ShaderRenderModeValidation.cs
- M3DUtil.cs
- ToolStripItemCollection.cs
- InertiaRotationBehavior.cs
- BitmapPalettes.cs
- ValueUtilsSmi.cs
- WebBrowsableAttribute.cs
- RemoteWebConfigurationHost.cs
- ObjRef.cs
- ProcessModelSection.cs
- ContentPresenter.cs
- TextTreeObjectNode.cs
- ObjectDataSourceWizardForm.cs
- ObservableDictionary.cs
- SafeNativeMethods.cs
- SQLInt64Storage.cs
- RadioButton.cs
- CompilerScopeManager.cs
- CrossSiteScriptingValidation.cs
- CqlGenerator.cs
- HttpProfileGroupBase.cs
- WindowsButton.cs
- PriorityBindingExpression.cs
- SurrogateEncoder.cs
- SystemDropShadowChrome.cs
- MarginsConverter.cs
- ProcessInfo.cs
- UserControl.cs
- InertiaTranslationBehavior.cs
- ServiceModelExtensionCollectionElement.cs
- WpfSharedBamlSchemaContext.cs
- DesignBindingConverter.cs
- PolyBezierSegment.cs
- xmlsaver.cs
- TracedNativeMethods.cs
- ElementNotEnabledException.cs
- ReadOnlyDictionary.cs
- SqlInfoMessageEvent.cs
- DateTimeConstantAttribute.cs
- KeyEventArgs.cs
- BroadcastEventHelper.cs
- Win32.cs
- WebPartAddingEventArgs.cs
- LogExtent.cs
- ModelPropertyCollectionImpl.cs
- LocalsItemDescription.cs
- RtfFormatStack.cs
- Expression.cs
- HtmlWindow.cs
- StringCollectionEditor.cs
- IdentifierElement.cs
- DuplicateWaitObjectException.cs
- SslStream.cs
- IOThreadScheduler.cs
- IPGlobalProperties.cs
- ToolBarPanel.cs
- Repeater.cs
- COM2Properties.cs
- _HeaderInfoTable.cs
- DesignerListAdapter.cs
- OleDbParameter.cs
- CuspData.cs
- CancellationState.cs
- SamlSubjectStatement.cs
- TraceSource.cs
- DomNameTable.cs
- DesignTimeParseData.cs
- DataQuery.cs
- StackSpiller.Temps.cs
- StrokeCollectionDefaultValueFactory.cs
- GeneralTransform2DTo3DTo2D.cs
- UrlPath.cs
- KnownTypeHelper.cs
- LazyTextWriterCreator.cs
- MissingSatelliteAssemblyException.cs
- PrintControllerWithStatusDialog.cs