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
- SpecialFolderEnumConverter.cs
- ListViewGroupItemCollection.cs
- FloaterParagraph.cs
- WebProxyScriptElement.cs
- UnmanagedMarshal.cs
- CapabilitiesSection.cs
- DefaultParameterValueAttribute.cs
- _ProxyRegBlob.cs
- CodeConditionStatement.cs
- TreeView.cs
- GeneralTransform.cs
- UserInitiatedNavigationPermission.cs
- BinaryUtilClasses.cs
- Vector3dCollection.cs
- ValuePatternIdentifiers.cs
- SqlCommandBuilder.cs
- TranslateTransform.cs
- MetadataConversionError.cs
- SafeNativeMethodsMilCoreApi.cs
- CodeBinaryOperatorExpression.cs
- SyntaxCheck.cs
- AlphabetConverter.cs
- Base64Encoder.cs
- TabControlEvent.cs
- ApplicationContext.cs
- KnownColorTable.cs
- BCLDebug.cs
- DBNull.cs
- XmlDocumentSerializer.cs
- XamlPathDataSerializer.cs
- UnmanagedBitmapWrapper.cs
- ToolStripProgressBar.cs
- WebHttpDispatchOperationSelectorData.cs
- GreenMethods.cs
- IndexedEnumerable.cs
- TaiwanLunisolarCalendar.cs
- FragmentQueryProcessor.cs
- PathFigureCollectionConverter.cs
- EventWaitHandle.cs
- MessageFault.cs
- SqlConnectionString.cs
- ProxyWebPartManager.cs
- GridViewRow.cs
- RectangleConverter.cs
- EntityViewGenerationAttribute.cs
- ViewgenGatekeeper.cs
- Page.cs
- DataBindingCollection.cs
- TextDataBindingHandler.cs
- NativeMethods.cs
- Errors.cs
- PermissionListSet.cs
- BasicExpressionVisitor.cs
- ChannelSinkStacks.cs
- GeneralTransform3DTo2DTo3D.cs
- DirectoryNotFoundException.cs
- ListBoxAutomationPeer.cs
- Thread.cs
- SqlColumnizer.cs
- PingReply.cs
- _Win32.cs
- RootBrowserWindowProxy.cs
- Sql8ConformanceChecker.cs
- WebPartConnectionsCloseVerb.cs
- WebPartMenuStyle.cs
- HttpHandlersSection.cs
- TypedTableBase.cs
- AdapterDictionary.cs
- ExpressionNode.cs
- DbReferenceCollection.cs
- recordstatefactory.cs
- CodeComment.cs
- AppSettingsReader.cs
- SourceFileInfo.cs
- RuleRefElement.cs
- NavigationWindowAutomationPeer.cs
- NegatedCellConstant.cs
- XmlSchemaSimpleContentExtension.cs
- BoolExpression.cs
- TimerExtension.cs
- _ChunkParse.cs
- BaseTemplateParser.cs
- Compilation.cs
- RegexMatch.cs
- NamedElement.cs
- WebZone.cs
- ContourSegment.cs
- TypeReference.cs
- XPathNavigator.cs
- ImportContext.cs
- TimeManager.cs
- Number.cs
- RtfToken.cs
- PaginationProgressEventArgs.cs
- CoreSwitches.cs
- DrawingVisual.cs
- ExceptionHelpers.cs
- MultiView.cs
- WindowsScroll.cs
- ColorContextHelper.cs