Code:
/ DotNET / DotNET / 8.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
- Function.cs
- FeatureSupport.cs
- PropertyRecord.cs
- PrintDocument.cs
- XmlSchemaComplexType.cs
- LinearGradientBrush.cs
- ContentPlaceHolder.cs
- PageAsyncTask.cs
- WebBrowserEvent.cs
- CommandHelpers.cs
- bindurihelper.cs
- AutomationPatternInfo.cs
- odbcmetadatacollectionnames.cs
- GeneralTransform.cs
- GenericEnumerator.cs
- CompositionDesigner.cs
- EnvironmentPermission.cs
- NamespaceMapping.cs
- AncillaryOps.cs
- HtmlGenericControl.cs
- XmlDataSourceView.cs
- Accessible.cs
- ReadWriteSpinLock.cs
- PcmConverter.cs
- _BaseOverlappedAsyncResult.cs
- EventSchemaTraceListener.cs
- ConfigurationCollectionAttribute.cs
- ListManagerBindingsCollection.cs
- ExitEventArgs.cs
- TextDpi.cs
- DefaultPropertyAttribute.cs
- EdmFunctions.cs
- DbConnectionPoolGroupProviderInfo.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- PictureBox.cs
- TypeExtension.cs
- SafePEFileHandle.cs
- ListSourceHelper.cs
- StructuralCache.cs
- Thumb.cs
- GridView.cs
- FunctionParameter.cs
- FileResponseElement.cs
- ClonableStack.cs
- Header.cs
- StorageSetMapping.cs
- NameValuePermission.cs
- HandledEventArgs.cs
- ObjectQuery.cs
- HttpBrowserCapabilitiesWrapper.cs
- ListControlActionList.cs
- CodeExpressionCollection.cs
- SafeCertificateStore.cs
- EtwProvider.cs
- TextProperties.cs
- ArrayElementGridEntry.cs
- XamlParser.cs
- RegexNode.cs
- EmptyControlCollection.cs
- RangeValueProviderWrapper.cs
- DisplayMemberTemplateSelector.cs
- DrawingContextDrawingContextWalker.cs
- TypeConverterAttribute.cs
- GridViewRowPresenterBase.cs
- _StreamFramer.cs
- CodeDomDecompiler.cs
- DocumentXmlWriter.cs
- figurelengthconverter.cs
- XmlUrlResolver.cs
- ToolStripArrowRenderEventArgs.cs
- RectangleF.cs
- Run.cs
- PopupEventArgs.cs
- MailMessage.cs
- SubMenuStyleCollection.cs
- Thread.cs
- BinaryReader.cs
- SafeRightsManagementEnvironmentHandle.cs
- HMACRIPEMD160.cs
- MenuItemStyleCollection.cs
- HostingEnvironment.cs
- SAPIEngineTypes.cs
- HuffCodec.cs
- LinkedResource.cs
- DataColumnChangeEvent.cs
- XmlSchemaElement.cs
- ScopedKnownTypes.cs
- ValidationPropertyAttribute.cs
- ControlValuePropertyAttribute.cs
- CompositeClientFormatter.cs
- AudioFormatConverter.cs
- Button.cs
- CssStyleCollection.cs
- EventItfInfo.cs
- TabPage.cs
- Certificate.cs
- StyleReferenceConverter.cs
- DataObject.cs
- TcpChannelFactory.cs
- ProcessInfo.cs