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;
///
///
/// [To be supplied.]
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CharEntityEncoderFallback.cs
- TypeValidationEventArgs.cs
- PropertyPathConverter.cs
- TableAutomationPeer.cs
- FormViewInsertEventArgs.cs
- ButtonFlatAdapter.cs
- Vector3DCollection.cs
- DataGridSortCommandEventArgs.cs
- ElementFactory.cs
- StatusCommandUI.cs
- TransactionManager.cs
- CounterSample.cs
- ZipIOExtraFieldElement.cs
- PreviewPageInfo.cs
- DataGridCaption.cs
- WebBrowserNavigatedEventHandler.cs
- SatelliteContractVersionAttribute.cs
- MasterPageBuildProvider.cs
- VectorKeyFrameCollection.cs
- HttpProfileGroupBase.cs
- ViewBox.cs
- SpecularMaterial.cs
- WeakHashtable.cs
- ArraySegment.cs
- FileIOPermission.cs
- TreeViewAutomationPeer.cs
- DefaultTextStoreTextComposition.cs
- UIElementAutomationPeer.cs
- ApplicationServiceManager.cs
- LOSFormatter.cs
- IdlingCommunicationPool.cs
- DetailsViewCommandEventArgs.cs
- Pair.cs
- SpotLight.cs
- EditorPartCollection.cs
- ListCollectionView.cs
- PageAdapter.cs
- ExtentKey.cs
- _LocalDataStoreMgr.cs
- XmlBinaryWriter.cs
- LabelTarget.cs
- Cursor.cs
- TextEditor.cs
- CancelEventArgs.cs
- Size3D.cs
- Rect.cs
- HGlobalSafeHandle.cs
- SocketConnection.cs
- InputLangChangeRequestEvent.cs
- DataServiceRequest.cs
- storepermissionattribute.cs
- XmlSchemaChoice.cs
- ADRoleFactory.cs
- Int64.cs
- FormatException.cs
- ConfigXmlReader.cs
- PeerNameRecord.cs
- OneToOneMappingSerializer.cs
- DomainUpDown.cs
- ToolZoneDesigner.cs
- FrameworkElement.cs
- DataKey.cs
- FixedPosition.cs
- VectorCollectionValueSerializer.cs
- DBBindings.cs
- WebSysDisplayNameAttribute.cs
- EntityDesignerBuildProvider.cs
- HScrollBar.cs
- MultilineStringEditor.cs
- DataGridViewHeaderCell.cs
- ResourceDescriptionAttribute.cs
- RowToFieldTransformer.cs
- WrappingXamlSchemaContext.cs
- TypeExtension.cs
- CodeDOMProvider.cs
- WebPartConnectVerb.cs
- HealthMonitoringSection.cs
- brushes.cs
- HttpModuleAction.cs
- _HeaderInfoTable.cs
- HuffModule.cs
- ButtonField.cs
- TypeHelper.cs
- XsdValidatingReader.cs
- SizeConverter.cs
- MetadataPropertyAttribute.cs
- SmiContext.cs
- AsymmetricSignatureDeformatter.cs
- StringValueConverter.cs
- PermissionSetEnumerator.cs
- ViewDesigner.cs
- AppLevelCompilationSectionCache.cs
- EventManager.cs
- SimpleTextLine.cs
- ScrollChangedEventArgs.cs
- DataGridHyperlinkColumn.cs
- SimpleExpression.cs
- InputScopeConverter.cs
- SizeAnimationClockResource.cs
- CompatibleIComparer.cs