Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
// [....]
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StaticContext.cs
- TrackingLocationCollection.cs
- BamlLocalizableResourceKey.cs
- WindowsTooltip.cs
- LocalFileSettingsProvider.cs
- RegexCharClass.cs
- HttpDebugHandler.cs
- ApplicationFileParser.cs
- QueryAccessibilityHelpEvent.cs
- ZoomPercentageConverter.cs
- SessionEndedEventArgs.cs
- FormsAuthenticationConfiguration.cs
- StrongNameUtility.cs
- DataGridCaption.cs
- ServerIdentity.cs
- BaseDataListComponentEditor.cs
- ConfigurationSectionGroupCollection.cs
- NumericPagerField.cs
- UDPClient.cs
- ObjectItemAssemblyLoader.cs
- TypeUtil.cs
- TextBreakpoint.cs
- WebPartEditorOkVerb.cs
- Brush.cs
- SafeCertificateStore.cs
- BaseTemplateCodeDomTreeGenerator.cs
- WebConfigurationManager.cs
- PersonalizationEntry.cs
- TypeUtil.cs
- DictionaryChange.cs
- RTLAwareMessageBox.cs
- UpdateException.cs
- ScriptControlDescriptor.cs
- PropertyValueChangedEvent.cs
- DependencyPropertyKey.cs
- PeerObject.cs
- SQLDoubleStorage.cs
- PartBasedPackageProperties.cs
- AssemblyUtil.cs
- SplineKeyFrames.cs
- RijndaelManaged.cs
- FeatureSupport.cs
- RNGCryptoServiceProvider.cs
- DesignerAdRotatorAdapter.cs
- PreDigestedSignedInfo.cs
- InputQueueChannelAcceptor.cs
- Int16AnimationBase.cs
- WindowsFormsHostAutomationPeer.cs
- RemotingConfiguration.cs
- RtfToken.cs
- ToolStripDropDownItem.cs
- ACL.cs
- CodeTypeParameterCollection.cs
- PersonalizableAttribute.cs
- IdnMapping.cs
- EventLogPermission.cs
- SerializationFieldInfo.cs
- SqlProviderUtilities.cs
- ConfigXmlWhitespace.cs
- TraceShell.cs
- ValueProviderWrapper.cs
- RtfToken.cs
- SystemIPv6InterfaceProperties.cs
- MSAAEventDispatcher.cs
- ConfigurationSectionGroup.cs
- SymbolType.cs
- UmAlQuraCalendar.cs
- XmlCollation.cs
- ObjectDataSourceFilteringEventArgs.cs
- SmiMetaDataProperty.cs
- CSharpCodeProvider.cs
- CellParaClient.cs
- DateTimeFormat.cs
- ConfigXmlWhitespace.cs
- MonitoringDescriptionAttribute.cs
- TTSVoice.cs
- sqlnorm.cs
- GridLengthConverter.cs
- RenderDataDrawingContext.cs
- ByeMessageApril2005.cs
- DynamicDataExtensions.cs
- DeploymentSectionCache.cs
- RightsManagementInformation.cs
- ResXResourceWriter.cs
- XmlKeywords.cs
- DelegateArgument.cs
- CrossContextChannel.cs
- TransactionException.cs
- HighlightVisual.cs
- DocumentViewerBaseAutomationPeer.cs
- BitmapVisualManager.cs
- TreeViewImageKeyConverter.cs
- TemplatedMailWebEventProvider.cs
- MultipleViewPattern.cs
- SafeRsaProviderHandle.cs
- MediaContext.cs
- JapaneseCalendar.cs
- CloseCollectionAsyncResult.cs
- GridViewCommandEventArgs.cs
- DictionaryContent.cs