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
- BasePropertyDescriptor.cs
- Cell.cs
- Dictionary.cs
- OrderToken.cs
- AxisAngleRotation3D.cs
- FrameworkContentElement.cs
- mediaeventargs.cs
- ImageInfo.cs
- TextRenderingModeValidation.cs
- MediaElement.cs
- PostBackTrigger.cs
- TextBoxRenderer.cs
- TextBoxBase.cs
- BasePropertyDescriptor.cs
- ExecutionContext.cs
- EventItfInfo.cs
- LocationUpdates.cs
- DataTableTypeConverter.cs
- CompositeTypefaceMetrics.cs
- Query.cs
- FactoryMaker.cs
- TargetControlTypeCache.cs
- StateRuntime.cs
- CatalogPart.cs
- Roles.cs
- TreeNodeClickEventArgs.cs
- PermissionAttributes.cs
- RemoteHelper.cs
- CultureMapper.cs
- IPAddress.cs
- DataBindingCollectionEditor.cs
- MultilineStringConverter.cs
- MenuAutomationPeer.cs
- DetailsView.cs
- securestring.cs
- TranslateTransform3D.cs
- ParserExtension.cs
- AdornerDecorator.cs
- HexParser.cs
- GridViewRowEventArgs.cs
- QilDataSource.cs
- SpellerInterop.cs
- XsdBuilder.cs
- XmlBinaryWriterSession.cs
- WpfWebRequestHelper.cs
- CodeCommentStatement.cs
- Material.cs
- SocketInformation.cs
- XmlSchemaChoice.cs
- MatrixKeyFrameCollection.cs
- Queue.cs
- safelink.cs
- RijndaelManagedTransform.cs
- ContainerUIElement3D.cs
- ObjectQuery_EntitySqlExtensions.cs
- ByValueEqualityComparer.cs
- ModulesEntry.cs
- ArrowControl.xaml.cs
- InstanceCreationEditor.cs
- FamilyTypefaceCollection.cs
- DbgCompiler.cs
- FrameworkRichTextComposition.cs
- DBSchemaTable.cs
- ChineseLunisolarCalendar.cs
- OdbcError.cs
- Button.cs
- TailCallAnalyzer.cs
- WindowsSecurityTokenAuthenticator.cs
- GeometryGroup.cs
- CacheChildrenQuery.cs
- x509store.cs
- ActivationService.cs
- FirstMatchCodeGroup.cs
- ToolStripComboBox.cs
- DataGridViewRowStateChangedEventArgs.cs
- FileDialog.cs
- DesignerActionHeaderItem.cs
- ConstraintStruct.cs
- ContextMenu.cs
- UnescapedXmlDiagnosticData.cs
- DesignTimeVisibleAttribute.cs
- IssuanceLicense.cs
- XmlAnyElementAttributes.cs
- serverconfig.cs
- CodeStatementCollection.cs
- InvokeGenerator.cs
- ISAPIApplicationHost.cs
- NameValueCollection.cs
- Hex.cs
- XmlSchemaInclude.cs
- HtmlWindow.cs
- XmlSubtreeReader.cs
- MethodRental.cs
- CommandLineParser.cs
- Evidence.cs
- AvTraceFormat.cs
- COM2TypeInfoProcessor.cs
- BeginStoryboard.cs
- ArgIterator.cs
- DebugHandleTracker.cs