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
- ObjectViewListener.cs
- DockAndAnchorLayout.cs
- DebugController.cs
- SafeBuffer.cs
- SHA1CryptoServiceProvider.cs
- NetPipeSection.cs
- StyleConverter.cs
- SplitContainer.cs
- SqlDataSourceQuery.cs
- StringOutput.cs
- ImplicitInputBrush.cs
- GraphicsPathIterator.cs
- HttpModulesSection.cs
- CodeCompileUnit.cs
- SafeBitVector32.cs
- BreakRecordTable.cs
- XmlWellformedWriter.cs
- Polyline.cs
- DataSourceControl.cs
- PtsPage.cs
- SessionStateSection.cs
- PipeStream.cs
- AlphabeticalEnumConverter.cs
- HtmlToClrEventProxy.cs
- DataFormat.cs
- DynamicEntity.cs
- IndentedWriter.cs
- ScrollBarRenderer.cs
- WindowsFormsHost.cs
- IndexerNameAttribute.cs
- BitmapSource.cs
- GroupBox.cs
- WebPermission.cs
- ActivityBindForm.cs
- BitmapCodecInfo.cs
- StylusOverProperty.cs
- ExpandedWrapper.cs
- FilterException.cs
- DocumentEventArgs.cs
- XamlLoadErrorInfo.cs
- Thumb.cs
- ScriptIgnoreAttribute.cs
- BuildManager.cs
- _NtlmClient.cs
- SiteMapPathDesigner.cs
- WebBrowserProgressChangedEventHandler.cs
- Control.cs
- HtmlImage.cs
- FilterQueryOptionExpression.cs
- CatalogPartChrome.cs
- ToolStripDropTargetManager.cs
- FormCollection.cs
- XamlStyleSerializer.cs
- DataBindingList.cs
- JsonCollectionDataContract.cs
- ContravarianceAdapter.cs
- InfoCardConstants.cs
- InkCanvasInnerCanvas.cs
- WindowsFont.cs
- TypeConverterAttribute.cs
- ScalarOps.cs
- XmlChoiceIdentifierAttribute.cs
- SHA384.cs
- MsmqTransportSecurity.cs
- XmlSchemaGroup.cs
- MembershipValidatePasswordEventArgs.cs
- SqlTypesSchemaImporter.cs
- EntitySetBase.cs
- SqlCommand.cs
- ListChunk.cs
- DataObjectAttribute.cs
- WindowsAuthenticationModule.cs
- HtmlInputHidden.cs
- EventMemberCodeDomSerializer.cs
- _BufferOffsetSize.cs
- coordinatorscratchpad.cs
- MetadataArtifactLoaderFile.cs
- IssuanceLicense.cs
- SoapInteropTypes.cs
- UInt32.cs
- StylusPointPropertyInfoDefaults.cs
- ModelTreeEnumerator.cs
- Literal.cs
- DefaultParameterValueAttribute.cs
- SpoolingTask.cs
- ErrorInfoXmlDocument.cs
- SapiInterop.cs
- ImplicitInputBrush.cs
- ProcessMonitor.cs
- ProcessDesigner.cs
- DrawingCollection.cs
- FirewallWrapper.cs
- StyleXamlTreeBuilder.cs
- ProfileSettingsCollection.cs
- AmbiguousMatchException.cs
- Int32.cs
- SafeThreadHandle.cs
- SQLDouble.cs
- TreeNodeBinding.cs
- DictionaryGlobals.cs