Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeRestriction.cs / 1305376 / 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
- SamlEvidence.cs
- QilExpression.cs
- hwndwrapper.cs
- HttpCapabilitiesEvaluator.cs
- RowToFieldTransformer.cs
- ClientScriptManager.cs
- BamlResourceSerializer.cs
- TreeView.cs
- ButtonBaseAdapter.cs
- Geometry.cs
- DockProviderWrapper.cs
- RegexMatchCollection.cs
- FlowDocumentScrollViewer.cs
- ProtectedConfigurationProviderCollection.cs
- CharUnicodeInfo.cs
- WinCategoryAttribute.cs
- FileVersionInfo.cs
- BitmapScalingModeValidation.cs
- QueryContinueDragEvent.cs
- Config.cs
- DbTypeMap.cs
- PersonalizationState.cs
- DateTimeFormatInfo.cs
- PolygonHotSpot.cs
- ForeignKeyFactory.cs
- PropertyGridView.cs
- Currency.cs
- RenderDataDrawingContext.cs
- FunctionDefinition.cs
- WSTrustDec2005.cs
- PropertyValueChangedEvent.cs
- _HelperAsyncResults.cs
- UIElement3D.cs
- FileEnumerator.cs
- CopyAttributesAction.cs
- Base64Stream.cs
- HtmlInputHidden.cs
- RectIndependentAnimationStorage.cs
- ClientSponsor.cs
- RegexCharClass.cs
- PerformanceCounterPermissionEntryCollection.cs
- RecipientInfo.cs
- TypefaceMap.cs
- MouseEvent.cs
- PerspectiveCamera.cs
- MemberRelationshipService.cs
- GridViewRowPresenterBase.cs
- ConnectionsZoneAutoFormat.cs
- Soap.cs
- FixedFindEngine.cs
- OperandQuery.cs
- ImageAttributes.cs
- CheckBoxAutomationPeer.cs
- SortedList.cs
- ColumnHeaderConverter.cs
- DataContractAttribute.cs
- WindowsListViewGroupSubsetLink.cs
- ResourceContainer.cs
- VisualTreeUtils.cs
- DBSqlParserTableCollection.cs
- ApplicationId.cs
- ListViewItem.cs
- UnsafeNativeMethodsMilCoreApi.cs
- RelationshipConstraintValidator.cs
- HebrewCalendar.cs
- MSAAWinEventWrap.cs
- CharacterHit.cs
- StrongNameKeyPair.cs
- SemaphoreSecurity.cs
- Rect.cs
- ECDiffieHellman.cs
- DependentTransaction.cs
- XmlSchemaInfo.cs
- SafeRightsManagementEnvironmentHandle.cs
- XmlDocumentType.cs
- GlobalizationSection.cs
- WebEventCodes.cs
- ParseElementCollection.cs
- SelectedGridItemChangedEvent.cs
- OpCellTreeNode.cs
- LogSwitch.cs
- DataGridViewRowCollection.cs
- DuplicateWaitObjectException.cs
- ConnectionString.cs
- Animatable.cs
- ObjectAnimationUsingKeyFrames.cs
- DatagridviewDisplayedBandsData.cs
- followingsibling.cs
- XmlSchemaDatatype.cs
- CollectionViewGroupInternal.cs
- Set.cs
- StrongNamePublicKeyBlob.cs
- WinFormsComponentEditor.cs
- CursorConverter.cs
- XmlSchemaChoice.cs
- BlurEffect.cs
- FontSourceCollection.cs
- TypeConverterAttribute.cs
- TextEditorLists.cs
- Dump.cs