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
- CreatingCookieEventArgs.cs
- PolyQuadraticBezierSegment.cs
- DoubleUtil.cs
- CancellationHandlerDesigner.cs
- IdentityNotMappedException.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- FixedSOMPageElement.cs
- XpsSerializationException.cs
- DynamicExpression.cs
- WebPartConnectionsCancelVerb.cs
- SRDisplayNameAttribute.cs
- MembershipPasswordException.cs
- TemplatePropertyEntry.cs
- ClientUriBehavior.cs
- ReferentialConstraint.cs
- SqlClientMetaDataCollectionNames.cs
- newitemfactory.cs
- MergablePropertyAttribute.cs
- QilIterator.cs
- ObjectFullSpanRewriter.cs
- ActivityBuilderHelper.cs
- ImageIndexConverter.cs
- TextEditorThreadLocalStore.cs
- ToolStripPanelRow.cs
- XmlDataProvider.cs
- RepeaterItemEventArgs.cs
- DigestComparer.cs
- ImageButton.cs
- FileChangesMonitor.cs
- XsdBuildProvider.cs
- TextOnlyOutput.cs
- RowSpanVector.cs
- PrimitiveSchema.cs
- FontFamilyValueSerializer.cs
- ProtocolViolationException.cs
- EmbeddedMailObjectCollectionEditor.cs
- Executor.cs
- PropertyTabChangedEvent.cs
- EntityParameter.cs
- ApplicationSettingsBase.cs
- SimplePropertyEntry.cs
- ResourceReferenceKeyNotFoundException.cs
- HwndSourceKeyboardInputSite.cs
- RangeContentEnumerator.cs
- AggregateNode.cs
- RawStylusInputReport.cs
- XmlElementCollection.cs
- TypeBuilderInstantiation.cs
- FixedSOMTextRun.cs
- PageSetupDialog.cs
- StylusButton.cs
- regiisutil.cs
- SolidColorBrush.cs
- CompModSwitches.cs
- SoundPlayer.cs
- CatalogZoneDesigner.cs
- SemanticResultKey.cs
- BindingList.cs
- XmlSerializationWriter.cs
- SafeTimerHandle.cs
- CapiSymmetricAlgorithm.cs
- PropertyDescriptorComparer.cs
- ItemCollection.cs
- AttachedPropertyBrowsableAttribute.cs
- DatatypeImplementation.cs
- ByteFacetDescriptionElement.cs
- DataBindingCollection.cs
- Unit.cs
- CustomAttributeFormatException.cs
- MainMenu.cs
- infer.cs
- TextEffectCollection.cs
- DataGridViewLinkCell.cs
- PrintingPermissionAttribute.cs
- DocumentApplicationJournalEntry.cs
- ProjectionCamera.cs
- AssemblyInfo.cs
- SponsorHelper.cs
- EnterpriseServicesHelper.cs
- MediaPlayer.cs
- ExceptionUtil.cs
- Win32SafeHandles.cs
- OrthographicCamera.cs
- ResourceReferenceExpressionConverter.cs
- LambdaCompiler.Generated.cs
- SymbolTable.cs
- UpdateException.cs
- AnnotationStore.cs
- AnchorEditor.cs
- Pen.cs
- Error.cs
- PointAnimationUsingKeyFrames.cs
- BasicExpressionVisitor.cs
- MarginsConverter.cs
- InitializationEventAttribute.cs
- ViewKeyConstraint.cs
- CompModHelpers.cs
- ExplicitDiscriminatorMap.cs
- ServerIdentity.cs
- EventLogRecord.cs