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
- ActivityPropertyReference.cs
- ComPlusSynchronizationContext.cs
- WebPartCancelEventArgs.cs
- ObjectManager.cs
- SimpleApplicationHost.cs
- TransactionScope.cs
- RegexRunnerFactory.cs
- ContainerVisual.cs
- ClipboardProcessor.cs
- ISFTagAndGuidCache.cs
- Composition.cs
- CollectionChangeEventArgs.cs
- WebServiceFault.cs
- StateRuntime.cs
- TrackingProfileManager.cs
- EmptyImpersonationContext.cs
- WindowsFormsHelpers.cs
- CollectionViewProxy.cs
- PropertyCondition.cs
- BuildProvidersCompiler.cs
- RandomNumberGenerator.cs
- IChannel.cs
- ControlIdConverter.cs
- WindowsGraphics2.cs
- TextTreeUndoUnit.cs
- MethodAccessException.cs
- Help.cs
- InvalidAsynchronousStateException.cs
- TrailingSpaceComparer.cs
- ObjectResult.cs
- DataMemberListEditor.cs
- precedingsibling.cs
- CodeCompiler.cs
- CmsInterop.cs
- PropertyChangedEventArgs.cs
- SessionStateUtil.cs
- CompilerInfo.cs
- DataTableReader.cs
- MethodRental.cs
- SmiEventSink_DeferedProcessing.cs
- CurrentTimeZone.cs
- ProcessThread.cs
- SecurityContextSecurityToken.cs
- SystemFonts.cs
- DodSequenceMerge.cs
- BitVec.cs
- ResourcePool.cs
- ResXBuildProvider.cs
- XmlSchemaSet.cs
- _NestedMultipleAsyncResult.cs
- GraphicsContainer.cs
- Panel.cs
- PassportAuthenticationModule.cs
- EntityViewGenerationConstants.cs
- InputManager.cs
- MetabaseServerConfig.cs
- NonClientArea.cs
- EditorPartChrome.cs
- SystemIcmpV6Statistics.cs
- ListControl.cs
- HttpResponseBase.cs
- SafeThreadHandle.cs
- EntityViewGenerationAttribute.cs
- ProtocolElement.cs
- UniqueEventHelper.cs
- DataChangedEventManager.cs
- IHttpResponseInternal.cs
- CustomWebEventKey.cs
- NameValueConfigurationCollection.cs
- DataGridRelationshipRow.cs
- HelpEvent.cs
- Timer.cs
- EncryptedPackageFilter.cs
- ConfigurationSettings.cs
- NamespaceImport.cs
- SettingsPropertyValue.cs
- ViewManager.cs
- SqlCommandSet.cs
- BackStopAuthenticationModule.cs
- RegexTree.cs
- SimpleWorkerRequest.cs
- UnitySerializationHolder.cs
- X509SecurityToken.cs
- Thickness.cs
- SafeSecurityHandles.cs
- DomainLiteralReader.cs
- ComponentGuaranteesAttribute.cs
- NativeMethods.cs
- CalendarDay.cs
- ProviderMetadata.cs
- WinFormsSpinner.cs
- InkSerializer.cs
- CalendarKeyboardHelper.cs
- WindowsListViewItemStartMenu.cs
- ApplicationFileParser.cs
- MobileControlPersister.cs
- PackageRelationshipCollection.cs
- PagerSettings.cs
- GenericEnumConverter.cs
- CurrentChangingEventManager.cs