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;
///
///
/// [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
- XsltContext.cs
- EventProxy.cs
- TextDpi.cs
- SoapSchemaExporter.cs
- HttpRequestTraceRecord.cs
- StrongNamePublicKeyBlob.cs
- HtmlPageAdapter.cs
- COM2EnumConverter.cs
- TransactionChannelFaultConverter.cs
- XmlHierarchicalDataSourceView.cs
- BufferedWebEventProvider.cs
- ReadWriteControlDesigner.cs
- TaskSchedulerException.cs
- ScaleTransform3D.cs
- DataGridViewRowStateChangedEventArgs.cs
- ProcessModule.cs
- DataSourceSelectArguments.cs
- FieldToken.cs
- XmlIncludeAttribute.cs
- DispatchWrapper.cs
- COM2ExtendedTypeConverter.cs
- PieceDirectory.cs
- DBSqlParserColumn.cs
- DataGridColumnCollection.cs
- ExpressionHelper.cs
- DataListItem.cs
- PropertyFilterAttribute.cs
- WebPartMenuStyle.cs
- AgileSafeNativeMemoryHandle.cs
- IdentityNotMappedException.cs
- Shape.cs
- SetterBase.cs
- ObjectHandle.cs
- ExpressionCopier.cs
- BoolLiteral.cs
- RecognizerStateChangedEventArgs.cs
- TextFormatterContext.cs
- Semaphore.cs
- PeerCollaborationPermission.cs
- Boolean.cs
- TransportSecurityHelpers.cs
- MemberAccessException.cs
- Propagator.cs
- RenderContext.cs
- SmtpLoginAuthenticationModule.cs
- ExitEventArgs.cs
- XmlToDatasetMap.cs
- _NetRes.cs
- Size3DConverter.cs
- EventManager.cs
- DataTableTypeConverter.cs
- StrokeNode.cs
- TreeNodeConverter.cs
- ImageSourceValueSerializer.cs
- DataGridViewTextBoxColumn.cs
- Adorner.cs
- XamlHostingSection.cs
- ComboBox.cs
- BypassElement.cs
- MergeFailedEvent.cs
- WorkflowWebService.cs
- CodeCompileUnit.cs
- ProviderSettings.cs
- MarshalByValueComponent.cs
- _Semaphore.cs
- EntityContainer.cs
- EditingScope.cs
- XPathDocumentBuilder.cs
- OrderByQueryOptionExpression.cs
- ModelItemCollection.cs
- KoreanLunisolarCalendar.cs
- TextTreeUndoUnit.cs
- InputLanguageEventArgs.cs
- PartitionedStream.cs
- figurelength.cs
- MetadataException.cs
- SettingsSavedEventArgs.cs
- ClientScriptItemCollection.cs
- ProxyElement.cs
- CodeVariableDeclarationStatement.cs
- ConnectionPoint.cs
- ProxyManager.cs
- TcpChannelHelper.cs
- FrugalList.cs
- RenderData.cs
- DeferredSelectedIndexReference.cs
- DataGridViewCheckBoxCell.cs
- NamespaceImport.cs
- SoapServerProtocol.cs
- CharAnimationBase.cs
- OrthographicCamera.cs
- SequentialWorkflowHeaderFooter.cs
- SHA384Cng.cs
- MatrixCamera.cs
- DataGridCellInfo.cs
- ToolboxItemCollection.cs
- DBProviderConfigurationHandler.cs
- OrCondition.cs
- WebCategoryAttribute.cs
- Shared.cs