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
- PropertyAccessVisitor.cs
- GroupItemAutomationPeer.cs
- HostingPreferredMapPath.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SoapAttributes.cs
- FixedTextView.cs
- LabelEditEvent.cs
- NotifyIcon.cs
- TimeSpanConverter.cs
- WebPart.cs
- XmlText.cs
- StateFinalizationDesigner.cs
- shaperfactoryquerycacheentry.cs
- DataViewSettingCollection.cs
- WebHttpEndpoint.cs
- OrthographicCamera.cs
- RightsManagementProvider.cs
- _Semaphore.cs
- ScrollViewerAutomationPeer.cs
- smtpconnection.cs
- xsdvalidator.cs
- EdmComplexTypeAttribute.cs
- WebPartConnectionsDisconnectVerb.cs
- PrtCap_Builder.cs
- WebServiceMethodData.cs
- DictionaryEditChange.cs
- ConfigurationLocationCollection.cs
- BuildManagerHost.cs
- DesignParameter.cs
- AjaxFrameworkAssemblyAttribute.cs
- DataTablePropertyDescriptor.cs
- SystemKeyConverter.cs
- ToolboxItemFilterAttribute.cs
- SchemaInfo.cs
- NamespaceInfo.cs
- TextSelectionHelper.cs
- FilterElement.cs
- PtsHost.cs
- WizardStepBase.cs
- wmiprovider.cs
- ProcessThread.cs
- CodePageEncoding.cs
- TextAutomationPeer.cs
- SiteMapNodeItemEventArgs.cs
- RouteData.cs
- MethodToken.cs
- SqlInternalConnection.cs
- XPathNavigatorKeyComparer.cs
- RenderContext.cs
- ExeContext.cs
- MetadataUtilsSmi.cs
- DataSetViewSchema.cs
- CroppedBitmap.cs
- CustomPopupPlacement.cs
- DataAccessor.cs
- InfocardExtendedInformationCollection.cs
- DirectoryInfo.cs
- CookieProtection.cs
- XXXInfos.cs
- EntityDataSourceUtil.cs
- DrawToolTipEventArgs.cs
- ObjectKeyFrameCollection.cs
- XPathMessageFilterElementComparer.cs
- CancellableEnumerable.cs
- Interlocked.cs
- KeyConstraint.cs
- BoolLiteral.cs
- SQLByteStorage.cs
- ValueExpressions.cs
- RectangleGeometry.cs
- SqlInfoMessageEvent.cs
- SqlFileStream.cs
- FlowSwitchDesigner.xaml.cs
- TargetConverter.cs
- LayoutTable.cs
- AutoGeneratedField.cs
- LineSegment.cs
- SqlBuilder.cs
- LZCodec.cs
- GridViewRow.cs
- XmlSchemaComplexContentRestriction.cs
- Ops.cs
- ArrayTypeMismatchException.cs
- DispatcherSynchronizationContext.cs
- RelatedCurrencyManager.cs
- Transform3DCollection.cs
- GcSettings.cs
- SortExpressionBuilder.cs
- CompilationLock.cs
- WsdlInspector.cs
- WizardPanel.cs
- DataGrid.cs
- TableRow.cs
- Char.cs
- ScriptManagerProxy.cs
- WindowsComboBox.cs
- CaretElement.cs
- TextServicesDisplayAttributePropertyRanges.cs
- StructuredProperty.cs
- DetailsViewPageEventArgs.cs