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
- CallbackValidatorAttribute.cs
- _NegotiateClient.cs
- ResourceReferenceExpression.cs
- ToolStripCodeDomSerializer.cs
- LiteralDesigner.cs
- CompilerState.cs
- EventRoute.cs
- CachedTypeface.cs
- HttpContextWrapper.cs
- CookieHandler.cs
- While.cs
- SettingsPropertyNotFoundException.cs
- TargetControlTypeAttribute.cs
- InstanceDataCollectionCollection.cs
- TextEmbeddedObject.cs
- DesignerTransaction.cs
- EditorOptionAttribute.cs
- QEncodedStream.cs
- DataConnectionHelper.cs
- DataServiceClientException.cs
- ButtonStandardAdapter.cs
- SevenBitStream.cs
- InternalControlCollection.cs
- TreeView.cs
- ArraySegment.cs
- TextRangeAdaptor.cs
- DataGridTable.cs
- LabelExpression.cs
- Simplifier.cs
- ColorIndependentAnimationStorage.cs
- RijndaelCryptoServiceProvider.cs
- Ref.cs
- StylusLogic.cs
- EventTrigger.cs
- MSAANativeProvider.cs
- TerminatorSinks.cs
- RequestStatusBarUpdateEventArgs.cs
- ScrollChrome.cs
- Model3D.cs
- SQLDoubleStorage.cs
- UnmanagedMemoryStreamWrapper.cs
- WebPartVerb.cs
- AttributeXamlType.cs
- EventLogPermissionEntry.cs
- TdsParserSafeHandles.cs
- ConfigurationUtility.cs
- WebPartDisplayMode.cs
- CheckBoxField.cs
- RootBuilder.cs
- IteratorFilter.cs
- ListContractAdapter.cs
- WinEventHandler.cs
- TableParaClient.cs
- ManualResetEvent.cs
- Directory.cs
- CommandBindingCollection.cs
- VersionPair.cs
- SecurityKeyIdentifier.cs
- ConfigurationElementCollection.cs
- Regex.cs
- wgx_commands.cs
- QueryParameter.cs
- ReflectPropertyDescriptor.cs
- ResolveDuplexAsyncResult.cs
- SafeRightsManagementEnvironmentHandle.cs
- AlternateViewCollection.cs
- OdbcConnection.cs
- XmlSerializableServices.cs
- RepeaterCommandEventArgs.cs
- HealthMonitoringSection.cs
- ScriptControl.cs
- PersistStreamTypeWrapper.cs
- _AutoWebProxyScriptWrapper.cs
- ActivityTypeCodeDomSerializer.cs
- TypeCodeDomSerializer.cs
- XmlCountingReader.cs
- TemplatePagerField.cs
- ManagedIStream.cs
- NavigationProgressEventArgs.cs
- EntitySqlQueryCacheEntry.cs
- HttpContext.cs
- ParameterRetriever.cs
- XmlComplianceUtil.cs
- CustomAttributeSerializer.cs
- FixedSOMContainer.cs
- BaseDataBoundControl.cs
- StringConcat.cs
- HtmlInputReset.cs
- HttpModuleActionCollection.cs
- WindowsAltTab.cs
- WindowsSecurityToken.cs
- OracleCommandBuilder.cs
- ListControl.cs
- DataSetUtil.cs
- FocusManager.cs
- NodeLabelEditEvent.cs
- BitArray.cs
- EditorZoneBase.cs
- coordinator.cs
- DrawingContext.cs