Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PageRouteHandler.cs
- FaultFormatter.cs
- ZipPackagePart.cs
- UrlPropertyAttribute.cs
- GridViewColumnHeader.cs
- Crc32.cs
- URLString.cs
- DocumentSchemaValidator.cs
- DataSourceProvider.cs
- OleDbSchemaGuid.cs
- SerializationHelper.cs
- SystemIPv6InterfaceProperties.cs
- ServiceChannelProxy.cs
- AssociationTypeEmitter.cs
- SectionVisual.cs
- SqlCommand.cs
- RangeBase.cs
- TemplateManager.cs
- Propagator.Evaluator.cs
- NetSectionGroup.cs
- ImageUrlEditor.cs
- WebBrowserEvent.cs
- OdbcHandle.cs
- XmlEventCache.cs
- DataColumnSelectionConverter.cs
- Knowncolors.cs
- RoleService.cs
- XPathChildIterator.cs
- Scalars.cs
- XmlSchemaSimpleTypeList.cs
- Queue.cs
- DataRelationCollection.cs
- IconBitmapDecoder.cs
- DataRecordInternal.cs
- Trace.cs
- ExecutorLocksHeldException.cs
- StreamWriter.cs
- WebServiceMethodData.cs
- RC2.cs
- XmlHierarchicalEnumerable.cs
- NullReferenceException.cs
- EmptyEnumerable.cs
- WebPartZoneCollection.cs
- XDeferredAxisSource.cs
- CodeTypeReference.cs
- RegexCompiler.cs
- TypeForwardedToAttribute.cs
- DockAndAnchorLayout.cs
- ActivitySurrogateSelector.cs
- Speller.cs
- Ticks.cs
- WebOperationContext.cs
- TransformerTypeCollection.cs
- _IPv4Address.cs
- ClientBuildManagerCallback.cs
- DefaultParameterValueAttribute.cs
- PipeStream.cs
- StateWorkerRequest.cs
- MulticastIPAddressInformationCollection.cs
- SecurityIdentifierElementCollection.cs
- AbstractSvcMapFileLoader.cs
- RemoteDebugger.cs
- Shape.cs
- HttpModuleCollection.cs
- DataFormats.cs
- ControlAdapter.cs
- UnmanagedMemoryStreamWrapper.cs
- SerializationAttributes.cs
- KnownIds.cs
- XsdDateTime.cs
- DiscardableAttribute.cs
- NetDataContractSerializer.cs
- CacheRequest.cs
- MarkupCompiler.cs
- dbenumerator.cs
- DeflateInput.cs
- Point3DCollection.cs
- UnsettableComboBox.cs
- Matrix3DConverter.cs
- Decoder.cs
- CodeDirectoryCompiler.cs
- DataFieldCollectionEditor.cs
- SrgsSemanticInterpretationTag.cs
- ConnectionInterfaceCollection.cs
- StoragePropertyMapping.cs
- ProtocolsInstallComponent.cs
- TypeSystem.cs
- WebEventTraceProvider.cs
- DataGridViewCellStyleConverter.cs
- ChoiceConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- PermissionSetTriple.cs
- TextCollapsingProperties.cs
- WorkerRequest.cs
- SingleTagSectionHandler.cs
- ToolStripDropDownClosingEventArgs.cs
- StaticResourceExtension.cs
- SpellerStatusTable.cs
- DataControlField.cs
- SafeHandles.cs