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
- EntityContainerEmitter.cs
- WebPartsPersonalizationAuthorization.cs
- CompensatableTransactionScopeActivityDesigner.cs
- DiscoveryDocumentReference.cs
- TraceRecord.cs
- webeventbuffer.cs
- WebControlParameterProxy.cs
- ContentPosition.cs
- __ConsoleStream.cs
- PartitionerQueryOperator.cs
- BasePattern.cs
- FrameworkElementFactoryMarkupObject.cs
- GeneratedCodeAttribute.cs
- RoutedEventArgs.cs
- Vector3dCollection.cs
- NonBatchDirectoryCompiler.cs
- ReflectionHelper.cs
- XmlNodeComparer.cs
- MenuCommandService.cs
- SslStream.cs
- DataDocumentXPathNavigator.cs
- ByteConverter.cs
- ClientScriptManager.cs
- EntityDataSourceContextDisposingEventArgs.cs
- Serializer.cs
- FilterEventArgs.cs
- ComponentCommands.cs
- LogRecordSequence.cs
- DelayedRegex.cs
- CodeCastExpression.cs
- HttpPostedFile.cs
- ConfigXmlElement.cs
- PageStatePersister.cs
- _ConnectStream.cs
- TextBoxAutomationPeer.cs
- AuthenticationService.cs
- UIElement3DAutomationPeer.cs
- UIElementIsland.cs
- PairComparer.cs
- EdmEntityTypeAttribute.cs
- SchemaInfo.cs
- CompiledQueryCacheEntry.cs
- LongValidatorAttribute.cs
- URL.cs
- ZoneMembershipCondition.cs
- DbgCompiler.cs
- ObjectMemberMapping.cs
- MobileUserControlDesigner.cs
- GregorianCalendarHelper.cs
- WebBrowserNavigatingEventHandler.cs
- UnsafeCollabNativeMethods.cs
- PropertyMap.cs
- BrushMappingModeValidation.cs
- EllipseGeometry.cs
- ArrangedElement.cs
- Variable.cs
- ConnectionConsumerAttribute.cs
- SafeRightsManagementEnvironmentHandle.cs
- ReplyChannelAcceptor.cs
- InkCanvasAutomationPeer.cs
- invalidudtexception.cs
- File.cs
- sortedlist.cs
- TextTreePropertyUndoUnit.cs
- FusionWrap.cs
- QueryStatement.cs
- CellRelation.cs
- TrackingProfileCache.cs
- LinqTreeNodeEvaluator.cs
- ConnectionPoint.cs
- NativeRightsManagementAPIsStructures.cs
- JsonWriter.cs
- BuilderPropertyEntry.cs
- AnimationStorage.cs
- ZipIOExtraFieldElement.cs
- Point4DConverter.cs
- ClientRuntimeConfig.cs
- RegisteredArrayDeclaration.cs
- FixedSOMTableRow.cs
- _StreamFramer.cs
- TableSectionStyle.cs
- ListControlStringCollectionEditor.cs
- SplineQuaternionKeyFrame.cs
- AsmxEndpointPickerExtension.cs
- FragmentNavigationEventArgs.cs
- WeakReference.cs
- ResolveResponse.cs
- Enum.cs
- DataSourceHelper.cs
- ActionFrame.cs
- CachedPathData.cs
- DataObject.cs
- MouseGesture.cs
- DesignerActionHeaderItem.cs
- _Win32.cs
- WmlCalendarAdapter.cs
- MexTcpBindingCollectionElement.cs
- ThreadPool.cs
- XmlReaderSettings.cs
- FileDialog_Vista.cs