Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeRestriction.cs / 1 / XmlSchemaSimpleTypeRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeRestriction : XmlSchemaSimpleTypeContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); ///[To be supplied.] ////// /// [XmlAttribute("base")] public XmlQualifiedName BaseTypeName { get { return baseTypeName; } set { baseTypeName = (value == null ? XmlQualifiedName.Empty : value); } } ///[To be supplied.] ////// /// [XmlElement("simpleType", typeof(XmlSchemaSimpleType))] public XmlSchemaSimpleType BaseType { get { return baseType; } set { baseType = value; } } ///[To be supplied.] ////// /// [XmlElement("length", typeof(XmlSchemaLengthFacet)), XmlElement("minLength", typeof(XmlSchemaMinLengthFacet)), XmlElement("maxLength", typeof(XmlSchemaMaxLengthFacet)), XmlElement("pattern", typeof(XmlSchemaPatternFacet)), XmlElement("enumeration", typeof(XmlSchemaEnumerationFacet)), XmlElement("maxInclusive", typeof(XmlSchemaMaxInclusiveFacet)), XmlElement("maxExclusive", typeof(XmlSchemaMaxExclusiveFacet)), XmlElement("minInclusive", typeof(XmlSchemaMinInclusiveFacet)), XmlElement("minExclusive", typeof(XmlSchemaMinExclusiveFacet)), XmlElement("totalDigits", typeof(XmlSchemaTotalDigitsFacet)), XmlElement("fractionDigits", typeof(XmlSchemaFractionDigitsFacet)), XmlElement("whiteSpace", typeof(XmlSchemaWhiteSpaceFacet))] public XmlSchemaObjectCollection Facets { get { return facets; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleTypeRestriction newRestriction = (XmlSchemaSimpleTypeRestriction)MemberwiseClone(); newRestriction.BaseTypeName = baseTypeName.Clone(); return newRestriction; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GenerateTemporaryTargetAssembly.cs
- PoisonMessageException.cs
- ApplicationContext.cs
- AttachedPropertyBrowsableAttribute.cs
- WindowsFormsHostPropertyMap.cs
- QilTargetType.cs
- XmlDataImplementation.cs
- TreeViewImageIndexConverter.cs
- HtmlTextBoxAdapter.cs
- ConfigDefinitionUpdates.cs
- FileUtil.cs
- GeneralTransform3DCollection.cs
- DSGeneratorProblem.cs
- DbUpdateCommandTree.cs
- WeakReadOnlyCollection.cs
- HTMLTagNameToTypeMapper.cs
- MatchingStyle.cs
- MultiTrigger.cs
- _AutoWebProxyScriptWrapper.cs
- JsonReader.cs
- SerialReceived.cs
- XmlSchemaAnnotation.cs
- CustomErrorsSection.cs
- DataColumnChangeEvent.cs
- IsolatedStorageFileStream.cs
- DateTimeOffsetStorage.cs
- PostBackTrigger.cs
- TdsParserSafeHandles.cs
- MessageQueue.cs
- XmlResolver.cs
- FormsAuthenticationConfiguration.cs
- EventDescriptor.cs
- TreeIterator.cs
- followingquery.cs
- DropTarget.cs
- EventManager.cs
- InstanceCreationEditor.cs
- FilteredDataSetHelper.cs
- MemberCollection.cs
- IItemContainerGenerator.cs
- StylusEventArgs.cs
- RetriableClipboard.cs
- MemberRestriction.cs
- SplineKeyFrames.cs
- SchemaImporterExtensionElementCollection.cs
- MessageQueueConverter.cs
- MultiAsyncResult.cs
- ResourceReferenceKeyNotFoundException.cs
- SecurityTokenSerializer.cs
- _WebProxyDataBuilder.cs
- FontStyle.cs
- TextSpanModifier.cs
- Interop.cs
- WebBrowserPermission.cs
- InputLangChangeRequestEvent.cs
- FrameAutomationPeer.cs
- SQLGuidStorage.cs
- Command.cs
- UIElementPropertyUndoUnit.cs
- UndoManager.cs
- FieldAccessException.cs
- CalendarKeyboardHelper.cs
- MsmqNonTransactedPoisonHandler.cs
- ListViewGroupItemCollection.cs
- DependencyObjectProvider.cs
- CharUnicodeInfo.cs
- ProviderUtil.cs
- ActivityExecutorOperation.cs
- ComAdminWrapper.cs
- TypeResolver.cs
- SynchronousSendBindingElement.cs
- CryptoProvider.cs
- ColorAnimationUsingKeyFrames.cs
- XmlWriterDelegator.cs
- SelectionPattern.cs
- NonClientArea.cs
- QueryOperationResponseOfT.cs
- Hex.cs
- EdmValidator.cs
- WebBrowser.cs
- HtmlGenericControl.cs
- RSAOAEPKeyExchangeDeformatter.cs
- GroupStyle.cs
- DataGridSortCommandEventArgs.cs
- SynchronousChannel.cs
- State.cs
- MouseWheelEventArgs.cs
- StickyNote.cs
- ConfigXmlCDataSection.cs
- SR.cs
- PlainXmlDeserializer.cs
- PaperSource.cs
- DataError.cs
- ConfigXmlText.cs
- RefreshEventArgs.cs
- BitmapEffectInput.cs
- ServiceModelPerformanceCounters.cs
- DesignerWebPartChrome.cs
- DataGridColumnCollectionEditor.cs
- SR.cs