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
- WorkflowMessageEventArgs.cs
- HwndHost.cs
- TriggerBase.cs
- AvTraceFormat.cs
- ISCIIEncoding.cs
- DataSet.cs
- XmlWrappingWriter.cs
- SimpleApplicationHost.cs
- BitmapPalette.cs
- BrowserDefinition.cs
- BaseTypeViewSchema.cs
- cookiecontainer.cs
- DependsOnAttribute.cs
- CompModSwitches.cs
- MiniConstructorInfo.cs
- PropertyMap.cs
- UrlMappingsModule.cs
- SqlBulkCopyColumnMapping.cs
- AddInDeploymentState.cs
- BaseInfoTable.cs
- InheritablePropertyChangeInfo.cs
- XmlTextReaderImpl.cs
- ResourcesBuildProvider.cs
- RecordManager.cs
- UserControlAutomationPeer.cs
- ColorMatrix.cs
- SettingsPropertyIsReadOnlyException.cs
- SQLString.cs
- EFTableProvider.cs
- ToolStripDropDownClosingEventArgs.cs
- BackgroundWorker.cs
- LeafCellTreeNode.cs
- ModuleBuilder.cs
- AQNBuilder.cs
- GetCardDetailsRequest.cs
- IPEndPointCollection.cs
- PersonalizationState.cs
- TempEnvironment.cs
- MulticastNotSupportedException.cs
- NativeMethods.cs
- arc.cs
- TransformCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- COM2Enum.cs
- WindowsRichEditRange.cs
- EntityAdapter.cs
- DiscriminatorMap.cs
- ImageListStreamer.cs
- ExceptionHandler.cs
- StackBuilderSink.cs
- PersonalizationState.cs
- DBBindings.cs
- HttpListenerException.cs
- DataGridViewComboBoxColumn.cs
- NativeMethodsOther.cs
- Dump.cs
- ConditionCollection.cs
- Base64Stream.cs
- GridToolTip.cs
- DetailsViewRow.cs
- RtfToXamlLexer.cs
- BitmapEffectState.cs
- FileSecurity.cs
- WindowsToolbar.cs
- _ProxyChain.cs
- KeyFrames.cs
- GraphicsState.cs
- PageClientProxyGenerator.cs
- ProjectionAnalyzer.cs
- GPRECT.cs
- RowToFieldTransformer.cs
- ReaderWriterLockWrapper.cs
- BindingMemberInfo.cs
- BoundPropertyEntry.cs
- ClientConfigPaths.cs
- PlatformNotSupportedException.cs
- TypeUtil.cs
- PartitionResolver.cs
- OdbcHandle.cs
- FocusTracker.cs
- StringComparer.cs
- ReadOnlyHierarchicalDataSource.cs
- DataTrigger.cs
- RequestCacheManager.cs
- ProcessInputEventArgs.cs
- WorkItem.cs
- RowVisual.cs
- XMLSyntaxException.cs
- JavascriptCallbackResponseProperty.cs
- BitmapInitialize.cs
- _SafeNetHandles.cs
- DataServiceQueryException.cs
- RemoteWebConfigurationHostServer.cs
- EntryPointNotFoundException.cs
- StrongNameKeyPair.cs
- HashCodeCombiner.cs
- ArgIterator.cs
- Application.cs
- WeakReference.cs
- MemberNameValidator.cs