Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NonBatchDirectoryCompiler.cs
- StatusBarPanelClickEvent.cs
- UpnEndpointIdentityExtension.cs
- ExtenderProvidedPropertyAttribute.cs
- ModelToObjectValueConverter.cs
- UserPreferenceChangingEventArgs.cs
- AddInAttribute.cs
- Effect.cs
- DataTableClearEvent.cs
- RangeValuePatternIdentifiers.cs
- CapabilitiesRule.cs
- ExpressionBuilderContext.cs
- XmlBindingWorker.cs
- StickyNoteAnnotations.cs
- DisableDpiAwarenessAttribute.cs
- Form.cs
- GridViewRow.cs
- DataServiceClientException.cs
- ExpressionBuilderCollection.cs
- ValueType.cs
- BaseValidator.cs
- UpdatePanelTrigger.cs
- GradientBrush.cs
- XamlBuildProvider.cs
- BinaryWriter.cs
- DataTrigger.cs
- TextEffect.cs
- ForeignKeyConstraint.cs
- PropertyTabAttribute.cs
- EventEntry.cs
- WorkflowDebuggerSteppingAttribute.cs
- MouseGestureConverter.cs
- DataSourceHelper.cs
- UpnEndpointIdentityExtension.cs
- ValidatorUtils.cs
- TraceSwitch.cs
- TextWriter.cs
- BindingNavigatorDesigner.cs
- XmlBaseWriter.cs
- SafeHandles.cs
- SimpleHandlerBuildProvider.cs
- WebBrowserPermission.cs
- ToolboxDataAttribute.cs
- ExpressionCopier.cs
- TextEditorTables.cs
- FileRecordSequence.cs
- WindowsGraphics2.cs
- IpcServerChannel.cs
- IssuedTokenServiceCredential.cs
- EncodingDataItem.cs
- AncillaryOps.cs
- HwndSubclass.cs
- CompositeDataBoundControl.cs
- UIEndRequest.cs
- URLAttribute.cs
- BackgroundWorker.cs
- HtmlGenericControl.cs
- CatalogZone.cs
- ReaderOutput.cs
- _CommandStream.cs
- JoinSymbol.cs
- SchemeSettingElement.cs
- SchemaHelper.cs
- SoapEnumAttribute.cs
- Operators.cs
- ViewGenerator.cs
- RangeBase.cs
- IIS7WorkerRequest.cs
- TextEditorMouse.cs
- WindowsAltTab.cs
- PasswordTextContainer.cs
- TraceContextEventArgs.cs
- DbXmlEnabledProviderManifest.cs
- BrowserCapabilitiesFactoryBase.cs
- XMLSchema.cs
- XhtmlBasicValidatorAdapter.cs
- XmlSerializationReader.cs
- VisualBasicValue.cs
- DiffuseMaterial.cs
- ResourceReferenceExpression.cs
- WindowsBrush.cs
- StateDesignerConnector.cs
- SqlDataSourceCommandEventArgs.cs
- DecimalMinMaxAggregationOperator.cs
- base64Transforms.cs
- DatePickerDateValidationErrorEventArgs.cs
- _KerberosClient.cs
- ContextQuery.cs
- SchemaElementLookUpTable.cs
- DecryptRequest.cs
- TableCell.cs
- UnknownWrapper.cs
- AttributeEmitter.cs
- SmtpNtlmAuthenticationModule.cs
- DbReferenceCollection.cs
- newinstructionaction.cs
- SEHException.cs
- XPathExpr.cs
- HttpException.cs
- AmbientValueAttribute.cs