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
- ScriptRegistrationManager.cs
- StickyNote.cs
- AsymmetricSignatureDeformatter.cs
- WebEncodingValidator.cs
- CryptoApi.cs
- RoleService.cs
- BindingContext.cs
- FramingFormat.cs
- CacheSection.cs
- XmlQueryTypeFactory.cs
- Request.cs
- SqlBuffer.cs
- DBDataPermission.cs
- Size3DConverter.cs
- FontWeight.cs
- IpcServerChannel.cs
- RouteItem.cs
- ShutDownListener.cs
- FigureParaClient.cs
- WebBrowserNavigatingEventHandler.cs
- ItemTypeToolStripMenuItem.cs
- UnsafeMethods.cs
- Matrix3D.cs
- RuntimeResourceSet.cs
- SmiGettersStream.cs
- FlowPosition.cs
- ISessionStateStore.cs
- HtmlEncodedRawTextWriter.cs
- TabletDeviceInfo.cs
- UrlAuthFailedErrorFormatter.cs
- EntityCommandDefinition.cs
- XmlArrayAttribute.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- BooleanSwitch.cs
- Error.cs
- FormViewDeleteEventArgs.cs
- LinqDataSourceHelper.cs
- GroupBox.cs
- DescendantQuery.cs
- SiteMapDesignerDataSourceView.cs
- PropertyToken.cs
- XmlArrayItemAttribute.cs
- NameValueSectionHandler.cs
- InvokePattern.cs
- ObjectMemberMapping.cs
- DataRowChangeEvent.cs
- PolicyManager.cs
- RadioButtonStandardAdapter.cs
- SessionPageStatePersister.cs
- Deflater.cs
- SqlDataSourceSelectingEventArgs.cs
- ScrollChangedEventArgs.cs
- EntityViewGenerator.cs
- UInt16.cs
- MexHttpBindingCollectionElement.cs
- MarkupCompilePass2.cs
- PointF.cs
- UnconditionalPolicy.cs
- InheritanceUI.cs
- KeyBinding.cs
- TableLayoutCellPaintEventArgs.cs
- CurrentChangingEventManager.cs
- ParentUndoUnit.cs
- Vector3DAnimation.cs
- TrustLevelCollection.cs
- EventWaitHandleSecurity.cs
- ApplicationException.cs
- XamlTreeBuilderBamlRecordWriter.cs
- RichTextBox.cs
- DrawingServices.cs
- TextEditorLists.cs
- HebrewCalendar.cs
- GeometryCollection.cs
- CodeSnippetCompileUnit.cs
- WriterOutput.cs
- BoundsDrawingContextWalker.cs
- CircleHotSpot.cs
- BlockCollection.cs
- LineVisual.cs
- SchemaImporterExtensionsSection.cs
- ScrollViewerAutomationPeer.cs
- MouseDevice.cs
- RichTextBoxAutomationPeer.cs
- CqlLexerHelpers.cs
- StateWorkerRequest.cs
- NativeMethods.cs
- SingleObjectCollection.cs
- EffectiveValueEntry.cs
- LinqDataSourceHelper.cs
- TimeSpanValidatorAttribute.cs
- XamlInt32CollectionSerializer.cs
- ClientData.cs
- OleStrCAMarshaler.cs
- SqlServer2KCompatibilityAnnotation.cs
- CommandDesigner.cs
- ProtectedConfiguration.cs
- StandardOleMarshalObject.cs
- TextBox.cs
- PerformanceCounterLib.cs
- DataRelationCollection.cs