Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentRestriction.cs / 1 / XmlSchemaSimpleContentRestriction.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaSimpleContentRestriction : XmlSchemaContent {
XmlQualifiedName baseTypeName = XmlQualifiedName.Empty;
XmlSchemaSimpleType baseType;
XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection();
XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection();
XmlSchemaAnyAttribute anyAttribute;
///
///
/// [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; }
}
///
///
/// [To be supplied.]
///
[XmlElement("attribute", typeof(XmlSchemaAttribute)),
XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))]
public XmlSchemaObjectCollection Attributes {
get { return attributes; }
}
///
///
/// [To be supplied.]
///
[XmlElement("anyAttribute")]
public XmlSchemaAnyAttribute AnyAttribute {
get { return anyAttribute; }
set { anyAttribute = value; }
}
internal void SetAttributes(XmlSchemaObjectCollection newAttributes) {
attributes = newAttributes;
}
}
}
// 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
- Facet.cs
- _OverlappedAsyncResult.cs
- CommandDevice.cs
- HScrollBar.cs
- MDIControlStrip.cs
- EmptyCollection.cs
- BStrWrapper.cs
- ElasticEase.cs
- Random.cs
- SocketStream.cs
- XslCompiledTransform.cs
- ToolStripSettings.cs
- WebPartConnectionsConfigureVerb.cs
- FormClosingEvent.cs
- PropertyCondition.cs
- DbProviderManifest.cs
- ConfigurationValue.cs
- AuthenticationConfig.cs
- StyleTypedPropertyAttribute.cs
- ComponentResourceKeyConverter.cs
- CompressedStack.cs
- WebBrowserBase.cs
- RoleManagerEventArgs.cs
- TypeSystemProvider.cs
- ConfigXmlAttribute.cs
- TargetFrameworkUtil.cs
- GlyphingCache.cs
- ObjectStorage.cs
- OleTxTransaction.cs
- ConditionalWeakTable.cs
- CodeDelegateInvokeExpression.cs
- XPathPatternBuilder.cs
- SqlReorderer.cs
- UnsafeNativeMethods.cs
- RolePrincipal.cs
- ControlBuilderAttribute.cs
- BinaryUtilClasses.cs
- DrawingGroup.cs
- Documentation.cs
- ManifestResourceInfo.cs
- ToolStripContentPanel.cs
- FaultBookmark.cs
- SQLByteStorage.cs
- ApplicationSecurityInfo.cs
- SessionParameter.cs
- IERequestCache.cs
- SqlConnectionPoolProviderInfo.cs
- MetafileHeaderWmf.cs
- SQLByte.cs
- PathGradientBrush.cs
- DoubleAnimationBase.cs
- LoadedEvent.cs
- DbParameterCollection.cs
- SpellerError.cs
- TranslateTransform.cs
- ActionItem.cs
- Source.cs
- InitialServerConnectionReader.cs
- ReliabilityContractAttribute.cs
- DateTimeConverter2.cs
- ResourceReferenceExpression.cs
- InkSerializer.cs
- FormViewDeleteEventArgs.cs
- XmlMemberMapping.cs
- TextRangeBase.cs
- StringBuilder.cs
- ManagedIStream.cs
- XmlName.cs
- InvalidOleVariantTypeException.cs
- TextAutomationPeer.cs
- Propagator.cs
- ServiceRouteHandler.cs
- OpenFileDialog.cs
- ProcessingInstructionAction.cs
- HMACRIPEMD160.cs
- ScriptResourceInfo.cs
- WpfSharedXamlSchemaContext.cs
- SqlClientMetaDataCollectionNames.cs
- ContentType.cs
- XhtmlBasicControlAdapter.cs
- DataSourceControlBuilder.cs
- SectionInput.cs
- DataGridrowEditEndingEventArgs.cs
- XmlSchemaCollection.cs
- GraphicsPathIterator.cs
- PriorityQueue.cs
- DataComponentMethodGenerator.cs
- StringResourceManager.cs
- ActionFrame.cs
- PatternMatcher.cs
- SmtpSection.cs
- SecurityCriticalDataForSet.cs
- DeploymentSectionCache.cs
- QilLiteral.cs
- OutOfProcStateClientManager.cs
- EdmProviderManifest.cs
- BlobPersonalizationState.cs
- ImageKeyConverter.cs
- PkcsMisc.cs
- DbCommandTree.cs