Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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
- Unit.cs
- OperandQuery.cs
- HtmlSelect.cs
- PartialArray.cs
- ThreadBehavior.cs
- SiteMapNodeCollection.cs
- DetailsViewModeEventArgs.cs
- EncoderFallback.cs
- RotateTransform.cs
- TraceHwndHost.cs
- WebPartEventArgs.cs
- NativeMethods.cs
- SectionInput.cs
- TreeViewCancelEvent.cs
- FieldNameLookup.cs
- TimeSpanMinutesConverter.cs
- ExtensionCollection.cs
- EditorPartCollection.cs
- XmlAtomicValue.cs
- MarshalByRefObject.cs
- UIElement.cs
- ReaderWriterLockSlim.cs
- KoreanCalendar.cs
- ProfileGroupSettings.cs
- FixedSOMTextRun.cs
- assemblycache.cs
- PrivilegeNotHeldException.cs
- HelpHtmlBuilder.cs
- XmlElementAttributes.cs
- Preprocessor.cs
- IsolatedStorageFile.cs
- Screen.cs
- EncodingNLS.cs
- XmlDomTextWriter.cs
- FixedSOMPageConstructor.cs
- OutputBuffer.cs
- HtmlTitle.cs
- Size3DConverter.cs
- SystemGatewayIPAddressInformation.cs
- GuidConverter.cs
- GeneralTransformGroup.cs
- Comparer.cs
- Propagator.JoinPropagator.cs
- Path.cs
- ProviderCollection.cs
- ValidateNames.cs
- XmlReturnReader.cs
- SqlFlattener.cs
- BitmapData.cs
- FamilyMap.cs
- LocalBuilder.cs
- TrackingConditionCollection.cs
- DocumentEventArgs.cs
- IISUnsafeMethods.cs
- InputProcessorProfilesLoader.cs
- XhtmlConformanceSection.cs
- CodeExpressionRuleDeclaration.cs
- ToolStripItemBehavior.cs
- Cursor.cs
- LineInfo.cs
- NameValuePair.cs
- ViewValidator.cs
- TreeNodeStyleCollection.cs
- TriggerActionCollection.cs
- SettingsAttributes.cs
- SqlUnionizer.cs
- InvalidComObjectException.cs
- BitmapEffectRenderDataResource.cs
- TypeViewSchema.cs
- PromptEventArgs.cs
- Input.cs
- Visual.cs
- TcpActivation.cs
- PropertyChangingEventArgs.cs
- AutoResetEvent.cs
- CounterCreationDataConverter.cs
- StreamedWorkflowDefinitionContext.cs
- NavigationWindowAutomationPeer.cs
- HttpConfigurationContext.cs
- IIS7UserPrincipal.cs
- RegexTree.cs
- DataServiceExpressionVisitor.cs
- DescendantOverDescendantQuery.cs
- ThumbButtonInfo.cs
- HandlerFactoryWrapper.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- FamilyMap.cs
- RelationshipFixer.cs
- CodeTypeMemberCollection.cs
- DataKey.cs
- LookupBindingPropertiesAttribute.cs
- XmlnsDictionary.cs
- ObjectStateFormatter.cs
- HttpSysSettings.cs
- ContainerAction.cs
- CryptoHelper.cs
- FlowDecisionDesigner.xaml.cs
- DoubleUtil.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- TickBar.cs