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
- CustomTrackingRecord.cs
- HtmlElementEventArgs.cs
- ValidationHelper.cs
- CalendarButtonAutomationPeer.cs
- TileModeValidation.cs
- InternalControlCollection.cs
- CultureTable.cs
- SoundPlayerAction.cs
- GridViewItemAutomationPeer.cs
- CacheChildrenQuery.cs
- XmlNodeList.cs
- FormView.cs
- WebEventTraceProvider.cs
- ImageFormat.cs
- Logging.cs
- ResourceCategoryAttribute.cs
- HostExecutionContextManager.cs
- NonParentingControl.cs
- CannotUnloadAppDomainException.cs
- DataGridViewTopLeftHeaderCell.cs
- GacUtil.cs
- SqlBooleanizer.cs
- Geometry3D.cs
- DbConnectionInternal.cs
- indexingfiltermarshaler.cs
- ResourceDescriptionAttribute.cs
- XmlNodeReader.cs
- ZipIOExtraFieldZip64Element.cs
- ResXResourceWriter.cs
- objectresult_tresulttype.cs
- SimpleLine.cs
- UnsafeNativeMethodsPenimc.cs
- BulletChrome.cs
- BitmapMetadata.cs
- NullableDoubleAverageAggregationOperator.cs
- RoamingStoreFile.cs
- ClientBase.cs
- VisualTarget.cs
- CommunicationObjectManager.cs
- ValidatorAttribute.cs
- ReadOnlyDataSource.cs
- ShaderRenderModeValidation.cs
- AssemblyAssociatedContentFileAttribute.cs
- VarRefManager.cs
- GregorianCalendar.cs
- LoadedEvent.cs
- Missing.cs
- NetStream.cs
- AsyncResult.cs
- ResolveNextArgumentWorkItem.cs
- TransformationRules.cs
- StringReader.cs
- XmlStreamStore.cs
- SiteMapNodeCollection.cs
- Vector3DAnimationBase.cs
- SqlLiftIndependentRowExpressions.cs
- MdiWindowListItemConverter.cs
- SmtpLoginAuthenticationModule.cs
- EntityTypeEmitter.cs
- ProcessingInstructionAction.cs
- DataGridViewTextBoxColumn.cs
- HttpWebRequestElement.cs
- IItemContainerGenerator.cs
- ThaiBuddhistCalendar.cs
- DynamicILGenerator.cs
- Light.cs
- SchemaImporterExtension.cs
- SmiMetaDataProperty.cs
- HwndProxyElementProvider.cs
- webclient.cs
- CalendarDateRange.cs
- WindowsImpersonationContext.cs
- FormsAuthenticationUser.cs
- AnnotationAuthorChangedEventArgs.cs
- MarkupCompilePass2.cs
- ToolStripItemImageRenderEventArgs.cs
- FixedPage.cs
- SoapSchemaMember.cs
- ArrayTypeMismatchException.cs
- PropertyChangingEventArgs.cs
- RefreshEventArgs.cs
- CustomMenuItemCollection.cs
- SQLDoubleStorage.cs
- EdmConstants.cs
- WebPartVerb.cs
- WebPartManager.cs
- ContentIterators.cs
- Module.cs
- DocumentViewer.cs
- XmlDataSourceNodeDescriptor.cs
- UnsafeNativeMethods.cs
- SettingsPropertyIsReadOnlyException.cs
- _Semaphore.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- ObjectTag.cs
- IItemProperties.cs
- ClientTargetSection.cs
- Point.cs
- WrappedIUnknown.cs
- PersonalizablePropertyEntry.cs