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
- TextLineBreak.cs
- OdbcFactory.cs
- CommandValueSerializer.cs
- Track.cs
- OptimalTextSource.cs
- EditBehavior.cs
- CursorConverter.cs
- StrongNameSignatureInformation.cs
- ListBox.cs
- GeometryModel3D.cs
- StringAnimationBase.cs
- MarshalByRefObject.cs
- StandardBindingElement.cs
- ObjectParameterCollection.cs
- XmlNavigatorStack.cs
- HwndStylusInputProvider.cs
- SingleAnimationBase.cs
- ApplicationException.cs
- HebrewCalendar.cs
- BufferAllocator.cs
- FlowLayoutPanel.cs
- smtpconnection.cs
- TraceSection.cs
- FixedSchema.cs
- DisplayInformation.cs
- BaseAppDomainProtocolHandler.cs
- Speller.cs
- XmlSchemaFacet.cs
- DataBindingList.cs
- VerticalAlignConverter.cs
- HwndSubclass.cs
- SqlTransaction.cs
- TypeConverterAttribute.cs
- ConnectionPointConverter.cs
- SafeLocalMemHandle.cs
- SecUtil.cs
- PreProcessInputEventArgs.cs
- SystemResources.cs
- BaseCodeDomTreeGenerator.cs
- StdValidatorsAndConverters.cs
- ZoneMembershipCondition.cs
- SmiContextFactory.cs
- XmlAggregates.cs
- METAHEADER.cs
- MessageDescriptionCollection.cs
- ToolStripTextBox.cs
- AxParameterData.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- FormatVersion.cs
- RotationValidation.cs
- Control.cs
- mactripleDES.cs
- DispatcherExceptionEventArgs.cs
- SecurityState.cs
- UnsafeCollabNativeMethods.cs
- ObfuscationAttribute.cs
- Queue.cs
- Privilege.cs
- ClientSettingsStore.cs
- RootBuilder.cs
- LiteralControl.cs
- LineBreak.cs
- SmtpMail.cs
- SingleKeyFrameCollection.cs
- ToolboxItemCollection.cs
- SocketManager.cs
- XmlILIndex.cs
- VScrollBar.cs
- Rfc2898DeriveBytes.cs
- EdmScalarPropertyAttribute.cs
- ViewSimplifier.cs
- XmlReaderSettings.cs
- WorkflowLayouts.cs
- VariableAction.cs
- DesignTimeTemplateParser.cs
- LogRecordSequence.cs
- OperatingSystem.cs
- SchemaAttDef.cs
- FocusManager.cs
- UIElement3DAutomationPeer.cs
- SiteMapNodeCollection.cs
- WeakReadOnlyCollection.cs
- ProfileEventArgs.cs
- HtmlElementEventArgs.cs
- TouchesCapturedWithinProperty.cs
- Buffer.cs
- EntityDataSourceContextCreatedEventArgs.cs
- TypeDescriptor.cs
- PageSettings.cs
- SqlDataSourceCache.cs
- LinqDataSourceDisposeEventArgs.cs
- ShapingWorkspace.cs
- TraceContext.cs
- StringUtil.cs
- MenuItemStyleCollection.cs
- NetTcpBindingElement.cs
- AttributedMetaModel.cs
- HttpDateParse.cs
- ReferencedCollectionType.cs
- DataRecordInternal.cs