Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentRestriction.cs / 1 / XmlSchemaSimpleContentRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; ///[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; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } internal void SetAttributes(XmlSchemaObjectCollection newAttributes) { attributes = newAttributes; } } } // 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.Xml.Serialization; ////// /// public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; ///[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; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } internal void SetAttributes(XmlSchemaObjectCollection newAttributes) { attributes = newAttributes; } } } // 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
- ComponentCommands.cs
- TextElementCollection.cs
- NavigationExpr.cs
- HttpCapabilitiesBase.cs
- DefaultAsyncDataDispatcher.cs
- FormsAuthenticationConfiguration.cs
- dsa.cs
- EmptyControlCollection.cs
- HwndStylusInputProvider.cs
- EDesignUtil.cs
- DbFunctionCommandTree.cs
- MultipartContentParser.cs
- SchemaTableColumn.cs
- ResourcesBuildProvider.cs
- GenericAuthenticationEventArgs.cs
- TypeSemantics.cs
- FreezableOperations.cs
- Misc.cs
- CodeGenerationManager.cs
- ConfigXmlCDataSection.cs
- MultiDataTrigger.cs
- VersionedStream.cs
- ListCommandEventArgs.cs
- MethodCallTranslator.cs
- ScaleTransform.cs
- RoleManagerModule.cs
- ToolStripManager.cs
- MenuItemStyle.cs
- TreeBuilderBamlTranslator.cs
- AsymmetricSignatureDeformatter.cs
- TemplatePropertyEntry.cs
- MouseActionConverter.cs
- SqlCacheDependency.cs
- DataGridAutomationPeer.cs
- TransformConverter.cs
- CustomValidator.cs
- CreateDataSourceDialog.cs
- SimplePropertyEntry.cs
- ResourceReader.cs
- DynamicDiscoSearcher.cs
- CodeGroup.cs
- RowToParametersTransformer.cs
- CryptoStream.cs
- PenLineCapValidation.cs
- WebControlAdapter.cs
- SmtpReplyReader.cs
- Vector3DAnimation.cs
- TextEditorMouse.cs
- ToolboxBitmapAttribute.cs
- QueryContinueDragEventArgs.cs
- Int32Rect.cs
- EnumDataContract.cs
- OneOfConst.cs
- TaskbarItemInfo.cs
- ClientSettings.cs
- Method.cs
- EventLogInformation.cs
- BookmarkTable.cs
- BeginEvent.cs
- ListSourceHelper.cs
- OverlappedAsyncResult.cs
- ClientCultureInfo.cs
- StyleSelector.cs
- SqlClientWrapperSmiStreamChars.cs
- LocalClientSecuritySettingsElement.cs
- ThemeableAttribute.cs
- DefaultParameterValueAttribute.cs
- DeobfuscatingStream.cs
- ReferenceConverter.cs
- DataTableReader.cs
- ObjectStateManager.cs
- IsolatedStorageFile.cs
- SessionState.cs
- SystemGatewayIPAddressInformation.cs
- KeyValueConfigurationCollection.cs
- Collection.cs
- DelegatingTypeDescriptionProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- StateDesigner.cs
- CodeDirectionExpression.cs
- CurrencyWrapper.cs
- PropertyToken.cs
- FixedHyperLink.cs
- BindingExpression.cs
- StylusShape.cs
- Container.cs
- UnknownBitmapDecoder.cs
- DesignColumn.cs
- TrackBarRenderer.cs
- EventRoute.cs
- UInt32Converter.cs
- AsyncOperationManager.cs
- IntegerValidatorAttribute.cs
- SqlTriggerContext.cs
- ObjectListField.cs
- BeginStoryboard.cs
- Trace.cs
- ColorAnimationUsingKeyFrames.cs
- Point4D.cs
- PcmConverter.cs