Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeRestriction.cs / 1 / XmlSchemaSimpleTypeRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeRestriction : XmlSchemaSimpleTypeContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); ///[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; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleTypeRestriction newRestriction = (XmlSchemaSimpleTypeRestriction)MemberwiseClone(); newRestriction.BaseTypeName = baseTypeName.Clone(); return newRestriction; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MessageQueuePermissionEntryCollection.cs
- EventHandlersStore.cs
- ConstructorNeedsTagAttribute.cs
- EventSetter.cs
- StaticFileHandler.cs
- ArgumentException.cs
- ScriptControlDescriptor.cs
- InkPresenterAutomationPeer.cs
- EventLogEntryCollection.cs
- StdValidatorsAndConverters.cs
- RegexMatch.cs
- WindowsEditBoxRange.cs
- _LocalDataStoreMgr.cs
- ZipFileInfo.cs
- XmlBufferReader.cs
- SafeTokenHandle.cs
- ScriptingWebServicesSectionGroup.cs
- TraceSection.cs
- TextDecorationUnitValidation.cs
- RequestNavigateEventArgs.cs
- MailSettingsSection.cs
- HostingEnvironmentSection.cs
- AssemblyNameProxy.cs
- ListBindingConverter.cs
- SecurityResources.cs
- FixedSOMTable.cs
- CommonDialog.cs
- GroupBox.cs
- HyperLink.cs
- TextTreeInsertUndoUnit.cs
- RecordBuilder.cs
- PageRequestManager.cs
- MenuItemCollection.cs
- BackStopAuthenticationModule.cs
- PersistenceTypeAttribute.cs
- EntitySetBaseCollection.cs
- ResourceDisplayNameAttribute.cs
- InstallerTypeAttribute.cs
- ToolStripDropDownButton.cs
- XamlStream.cs
- invalidudtexception.cs
- Lasso.cs
- AdjustableArrowCap.cs
- SubclassTypeValidatorAttribute.cs
- DbTypeMap.cs
- IEnumerable.cs
- ControlPersister.cs
- NoClickablePointException.cs
- CatalogZoneBase.cs
- ContextMarshalException.cs
- StringFunctions.cs
- ProfileSettings.cs
- SimpleWebHandlerParser.cs
- BaseCollection.cs
- EdmConstants.cs
- RadioButtonStandardAdapter.cs
- Point4DValueSerializer.cs
- MetadataFile.cs
- PermissionSet.cs
- M3DUtil.cs
- FillErrorEventArgs.cs
- DateTimeParse.cs
- AdornerDecorator.cs
- SafeRightsManagementPubHandle.cs
- SchemaManager.cs
- InfoCardProofToken.cs
- SiteMapNodeItem.cs
- _NTAuthentication.cs
- RangeBaseAutomationPeer.cs
- QilFunction.cs
- ApplicationManager.cs
- HMACSHA256.cs
- TypefaceMap.cs
- GridViewRowEventArgs.cs
- OrderToken.cs
- ExcCanonicalXml.cs
- StateDesigner.TransitionInfo.cs
- CustomErrorsSection.cs
- ZipIOCentralDirectoryFileHeader.cs
- XamlRtfConverter.cs
- StructuralType.cs
- EntityDataSourceValidationException.cs
- ServiceProviders.cs
- ReflectionTypeLoadException.cs
- CodeConditionStatement.cs
- TextEffectCollection.cs
- PathData.cs
- AppDomainGrammarProxy.cs
- PeerName.cs
- DSASignatureFormatter.cs
- CheckBoxBaseAdapter.cs
- UnmanagedMemoryStream.cs
- PositiveTimeSpanValidatorAttribute.cs
- Accessible.cs
- ClosableStream.cs
- SimpleHandlerFactory.cs
- ToolStripContainer.cs
- WebRequestModuleElement.cs
- ProgressBarBrushConverter.cs
- FieldInfo.cs