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
- AssemblyResourceLoader.cs
- Automation.cs
- MemoryRecordBuffer.cs
- Context.cs
- ScrollBarAutomationPeer.cs
- CodeArrayCreateExpression.cs
- BeginStoryboard.cs
- Help.cs
- UmAlQuraCalendar.cs
- RSAPKCS1SignatureFormatter.cs
- DataGridState.cs
- XPathDocumentIterator.cs
- Renderer.cs
- DetailsViewRowCollection.cs
- IChannel.cs
- SingleAnimationUsingKeyFrames.cs
- VerificationException.cs
- SqlProviderServices.cs
- ConfigurationSection.cs
- SymbolPair.cs
- TypeBrowserDialog.cs
- DataGridViewHeaderCell.cs
- SqlDelegatedTransaction.cs
- PropertyChangingEventArgs.cs
- BindingListCollectionView.cs
- SpellerStatusTable.cs
- BatchServiceHost.cs
- Resources.Designer.cs
- Utils.cs
- ModelUIElement3D.cs
- CommandHelpers.cs
- ConstantCheck.cs
- NumberFunctions.cs
- AuthorizationRule.cs
- GeometryCollection.cs
- XmlSchemaExporter.cs
- AnimationClockResource.cs
- MessageBox.cs
- GridViewPageEventArgs.cs
- NumericExpr.cs
- NonParentingControl.cs
- Console.cs
- SHA512Managed.cs
- PopupRootAutomationPeer.cs
- PageFunction.cs
- TransformCryptoHandle.cs
- ShapeTypeface.cs
- DbBuffer.cs
- ReadOnlyObservableCollection.cs
- ResXResourceReader.cs
- OptimalBreakSession.cs
- BuildManager.cs
- LinqDataSourceDisposeEventArgs.cs
- SplitterCancelEvent.cs
- Floater.cs
- ParagraphResult.cs
- DataGridDetailsPresenter.cs
- TrailingSpaceComparer.cs
- TableParagraph.cs
- CapiNative.cs
- EntityDataSourceDesigner.cs
- ResourceProviderFactory.cs
- ResourceExpressionBuilder.cs
- InvalidBodyAccessException.cs
- ColorEditor.cs
- DiagnosticTraceSource.cs
- WebPartCloseVerb.cs
- CodeConstructor.cs
- XmlCodeExporter.cs
- DateBoldEvent.cs
- HatchBrush.cs
- PageBuildProvider.cs
- EdmSchemaAttribute.cs
- RelationshipEndMember.cs
- XmlArrayItemAttribute.cs
- BitmapMetadataBlob.cs
- ToggleButtonAutomationPeer.cs
- BamlResourceDeserializer.cs
- Part.cs
- ProjectedSlot.cs
- WebPartConnectionsCancelVerb.cs
- SqlIdentifier.cs
- CLSCompliantAttribute.cs
- Rights.cs
- ToolStripControlHost.cs
- ClockGroup.cs
- SecurityDescriptor.cs
- BorderGapMaskConverter.cs
- Image.cs
- SplineQuaternionKeyFrame.cs
- PermissionAttributes.cs
- CustomPeerResolverService.cs
- SqlSupersetValidator.cs
- SelectionPattern.cs
- TemplateBindingExtension.cs
- ExpandedWrapper.cs
- HierarchicalDataTemplate.cs
- ClaimTypes.cs
- CompressedStack.cs
- SqlUtil.cs