Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Panel.cs
- CorePropertiesFilter.cs
- DataStreams.cs
- AssemblyBuilder.cs
- UIElement3DAutomationPeer.cs
- AdRotatorDesigner.cs
- XmlNodeReader.cs
- MetadataArtifactLoaderFile.cs
- TraceListeners.cs
- RequestQueryParser.cs
- ReadOnlyDataSource.cs
- securitymgrsite.cs
- Int64.cs
- GCHandleCookieTable.cs
- AutoScrollHelper.cs
- _ListenerResponseStream.cs
- RoleBoolean.cs
- DbParameterCollectionHelper.cs
- SoapTransportImporter.cs
- ContextDataSourceView.cs
- RenderDataDrawingContext.cs
- BooleanFacetDescriptionElement.cs
- future.cs
- TextBoxLine.cs
- NumericUpDown.cs
- DataTemplate.cs
- SmiSettersStream.cs
- PersistenceException.cs
- WebServiceData.cs
- ScrollItemPatternIdentifiers.cs
- Preprocessor.cs
- TrustVersion.cs
- EtwProvider.cs
- ImpersonateTokenRef.cs
- Identity.cs
- HttpHandlersSection.cs
- SrgsElementFactoryCompiler.cs
- MenuItemStyle.cs
- Style.cs
- SelectedGridItemChangedEvent.cs
- StateRuntime.cs
- Missing.cs
- DbInsertCommandTree.cs
- FileLevelControlBuilderAttribute.cs
- HttpDictionary.cs
- ToolTipService.cs
- CodeGeneratorOptions.cs
- XmlCharCheckingWriter.cs
- Rijndael.cs
- _HelperAsyncResults.cs
- ContentPlaceHolder.cs
- LineInfo.cs
- DbDataSourceEnumerator.cs
- FixedFlowMap.cs
- PlaceHolder.cs
- safelink.cs
- ToolboxItemSnapLineBehavior.cs
- TaskScheduler.cs
- ReceiveMessageRecord.cs
- SqlReferenceCollection.cs
- FormatSettings.cs
- ServiceOperationUIEditor.cs
- ControlIdConverter.cs
- SerializationObjectManager.cs
- DefaultParameterValueAttribute.cs
- ConfigurationSettings.cs
- ExpressionList.cs
- ComNativeDescriptor.cs
- DataGridViewCellStyleEditor.cs
- SmiGettersStream.cs
- TrailingSpaceComparer.cs
- FilteredDataSetHelper.cs
- XmlTextEncoder.cs
- CircleEase.cs
- HtmlInputText.cs
- ComponentGuaranteesAttribute.cs
- Ipv6Element.cs
- XmlTypeMapping.cs
- SelectedDatesCollection.cs
- lengthconverter.cs
- FixedDocumentSequencePaginator.cs
- SqlCommandSet.cs
- QuotedPairReader.cs
- ApplicationId.cs
- StsCommunicationException.cs
- ExceptionHandler.cs
- WCFBuildProvider.cs
- ModuleBuilderData.cs
- ReadWriteObjectLock.cs
- uribuilder.cs
- RefreshResponseInfo.cs
- DataObjectMethodAttribute.cs
- StateMachine.cs
- DesignConnection.cs
- ToolStripRenderEventArgs.cs
- WebFormsRootDesigner.cs
- XmlSchemaDatatype.cs
- Panel.cs
- IndependentAnimationStorage.cs
- BuildManager.cs