Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. //------------------------------------------------------------------------------ //[To be supplied.] ///// 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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TTSEngineProxy.cs
- PropertySourceInfo.cs
- EnumConverter.cs
- _NestedSingleAsyncResult.cs
- ServiceHostingEnvironmentSection.cs
- MenuItemStyleCollection.cs
- Brushes.cs
- MethodToken.cs
- DoubleLinkList.cs
- PolicyUtility.cs
- WizardPanel.cs
- ParserStreamGeometryContext.cs
- InputChannelAcceptor.cs
- DoubleUtil.cs
- Site.cs
- ResponseStream.cs
- COM2FontConverter.cs
- ShaderRenderModeValidation.cs
- UpdateDelegates.Generated.cs
- LicenseProviderAttribute.cs
- SlipBehavior.cs
- ImmComposition.cs
- ProviderUtil.cs
- clipboard.cs
- SingleKeyFrameCollection.cs
- ClientFormsAuthenticationCredentials.cs
- odbcmetadatacolumnnames.cs
- VolatileEnlistmentState.cs
- SoapFault.cs
- Types.cs
- StylusPointPropertyId.cs
- TemplateBindingExtensionConverter.cs
- IgnoreFileBuildProvider.cs
- EntityStoreSchemaFilterEntry.cs
- AudioDeviceOut.cs
- ImageUrlEditor.cs
- StylusEditingBehavior.cs
- GuidConverter.cs
- CipherData.cs
- EmptyQuery.cs
- FormView.cs
- MultiBindingExpression.cs
- DataTemplateSelector.cs
- HandlerWithFactory.cs
- OpacityConverter.cs
- IndentTextWriter.cs
- LinkGrep.cs
- PluralizationService.cs
- EncryptedKey.cs
- EditableTreeList.cs
- SingleTagSectionHandler.cs
- TabletDeviceInfo.cs
- EncoderNLS.cs
- ClientSettings.cs
- HandlerBase.cs
- ListenerElementsCollection.cs
- SmtpCommands.cs
- PeekCompletedEventArgs.cs
- ListView.cs
- WmiEventSink.cs
- TextWriterEngine.cs
- BaseValidator.cs
- DynamicILGenerator.cs
- OpacityConverter.cs
- SqlBooleanMismatchVisitor.cs
- Attachment.cs
- CacheDependency.cs
- RecognizedPhrase.cs
- ObjectTokenCategory.cs
- WmlValidatorAdapter.cs
- CachedPathData.cs
- NavigationPropertyAccessor.cs
- XmlWhitespace.cs
- ISCIIEncoding.cs
- CopyAttributesAction.cs
- HtmlWindowCollection.cs
- TemplateApplicationHelper.cs
- MessageEncoder.cs
- ObjectCacheSettings.cs
- RuntimeArgumentHandle.cs
- SystemIPInterfaceStatistics.cs
- Command.cs
- EntityTypeBase.cs
- VirtualDirectoryMappingCollection.cs
- MetaModel.cs
- EventsTab.cs
- IgnoreFileBuildProvider.cs
- BitmapEffectInputData.cs
- IndexingContentUnit.cs
- ParameterInfo.cs
- RectangleHotSpot.cs
- PropertyMapper.cs
- StateChangeEvent.cs
- UserThread.cs
- DataGridHeaderBorder.cs
- Rss20ItemFormatter.cs
- QilXmlWriter.cs
- Assembly.cs
- GroupBox.cs
- HostedHttpContext.cs