Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebPartsSection.cs
- ArcSegment.cs
- WebPartCatalogAddVerb.cs
- TdsEnums.cs
- EventData.cs
- ContentElementAutomationPeer.cs
- SQLMoneyStorage.cs
- RulePatternOps.cs
- WebDisplayNameAttribute.cs
- DelegatedStream.cs
- UserMapPath.cs
- _ChunkParse.cs
- CanonicalFontFamilyReference.cs
- Sequence.cs
- QueryStringConverter.cs
- DnsPermission.cs
- ProtocolsSection.cs
- ListBindingConverter.cs
- Compiler.cs
- SafeCoTaskMem.cs
- MyContact.cs
- ListItemCollection.cs
- SecurityPermission.cs
- BaseProcessor.cs
- KoreanCalendar.cs
- SkipQueryOptionExpression.cs
- BoundField.cs
- DefaultShape.cs
- SafeNativeMethodsOther.cs
- ValidationErrorEventArgs.cs
- TimelineClockCollection.cs
- SemaphoreSecurity.cs
- MarshalByRefObject.cs
- CSharpCodeProvider.cs
- TabControlEvent.cs
- Constants.cs
- XPathChildIterator.cs
- ByteStream.cs
- VisualTarget.cs
- DataRowView.cs
- securitycriticaldataClass.cs
- PageThemeParser.cs
- IOThreadTimer.cs
- JournalEntryStack.cs
- TypeNameParser.cs
- SessionSwitchEventArgs.cs
- Switch.cs
- InputDevice.cs
- IPEndPoint.cs
- ExtensionFile.cs
- ParameterExpression.cs
- HtmlUtf8RawTextWriter.cs
- DependencyStoreSurrogate.cs
- DoubleAnimationClockResource.cs
- WebPartExportVerb.cs
- TagPrefixAttribute.cs
- ClientUrlResolverWrapper.cs
- StringValueSerializer.cs
- ValidatorCollection.cs
- FontFamilyConverter.cs
- CommandEventArgs.cs
- MessageSmuggler.cs
- RecognizedWordUnit.cs
- FileLoadException.cs
- ListChangedEventArgs.cs
- PriorityChain.cs
- TimeBoundedCache.cs
- DoubleLinkList.cs
- PropertyPathWorker.cs
- FlowDocumentView.cs
- Simplifier.cs
- StopStoryboard.cs
- BinaryObjectReader.cs
- Int32Converter.cs
- Comparer.cs
- Adorner.cs
- XmlExtensionFunction.cs
- Line.cs
- XmlSchemaCollection.cs
- InProcStateClientManager.cs
- CmsUtils.cs
- EditingScope.cs
- TrailingSpaceComparer.cs
- CacheSection.cs
- CompatibleComparer.cs
- PageMediaType.cs
- ListParaClient.cs
- EntityContainer.cs
- CodeTypeConstructor.cs
- XmlILOptimizerVisitor.cs
- storepermission.cs
- TraceData.cs
- StreamWriter.cs
- CellConstantDomain.cs
- BindingSource.cs
- ChineseLunisolarCalendar.cs
- StringResourceManager.cs
- DataViewManager.cs
- Fonts.cs
- QuaternionAnimationBase.cs