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
- XmlChildNodes.cs
- COM2ExtendedTypeConverter.cs
- WebControl.cs
- AttachInfo.cs
- ServicePointManager.cs
- EventRoute.cs
- TemplateControlBuildProvider.cs
- Confirm.cs
- ContextStaticAttribute.cs
- WorkflowOwnershipException.cs
- GlyphingCache.cs
- SafeHandles.cs
- Popup.cs
- EmptyEnumerable.cs
- DataServiceStreamResponse.cs
- SqlInternalConnectionTds.cs
- HttpRequest.cs
- TypefaceMap.cs
- StorageEntityContainerMapping.cs
- EventDescriptorCollection.cs
- WorkflowMessageEventArgs.cs
- RSAOAEPKeyExchangeFormatter.cs
- TrackingServices.cs
- LabelAutomationPeer.cs
- FileNotFoundException.cs
- GridViewSelectEventArgs.cs
- WebSysDescriptionAttribute.cs
- EntityChangedParams.cs
- ConcatQueryOperator.cs
- AnnotationResourceCollection.cs
- XmlAggregates.cs
- OutputCacheModule.cs
- ObfuscateAssemblyAttribute.cs
- FileUpload.cs
- RangeBaseAutomationPeer.cs
- KeyboardDevice.cs
- FormsAuthenticationEventArgs.cs
- CompletedAsyncResult.cs
- ScrollChrome.cs
- BigInt.cs
- InstancePersistenceCommand.cs
- OrthographicCamera.cs
- ConfigurationLockCollection.cs
- WebServiceClientProxyGenerator.cs
- SystemIPv4InterfaceProperties.cs
- SingleBodyParameterMessageFormatter.cs
- TableItemStyle.cs
- ServiceModelSectionGroup.cs
- NotifyCollectionChangedEventArgs.cs
- MdImport.cs
- TextEncodedRawTextWriter.cs
- ImageAttributes.cs
- BitmapCodecInfo.cs
- AutomationPatternInfo.cs
- RetrieveVirtualItemEventArgs.cs
- PTConverter.cs
- RandomNumberGenerator.cs
- TraceHelpers.cs
- FileAuthorizationModule.cs
- ServiceManager.cs
- Stylus.cs
- ZipIOLocalFileBlock.cs
- Pens.cs
- Pkcs7Recipient.cs
- IISMapPath.cs
- BaseAddressElementCollection.cs
- ImageSourceConverter.cs
- RightsController.cs
- VectorAnimationUsingKeyFrames.cs
- SizeLimitedCache.cs
- GridErrorDlg.cs
- GuidConverter.cs
- EmissiveMaterial.cs
- RowCache.cs
- TextContainerHelper.cs
- AttributeInfo.cs
- RayMeshGeometry3DHitTestResult.cs
- RepeaterDesigner.cs
- Rijndael.cs
- TraceHwndHost.cs
- WebPartCloseVerb.cs
- CacheChildrenQuery.cs
- ClientConfigurationHost.cs
- InvalidPrinterException.cs
- ReadOnlyMetadataCollection.cs
- XmlSiteMapProvider.cs
- RunClient.cs
- ReflectionHelper.cs
- IpcManager.cs
- Table.cs
- ColorConverter.cs
- PermissionSetEnumerator.cs
- DynamicActivity.cs
- WebPartEditorCancelVerb.cs
- SecurityContext.cs
- Function.cs
- TrackingAnnotationCollection.cs
- VerifyHashRequest.cs
- Registry.cs
- DataTablePropertyDescriptor.cs