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
- __ConsoleStream.cs
- OleDbCommandBuilder.cs
- WebResponse.cs
- CounterSample.cs
- XNodeSchemaApplier.cs
- SqlXml.cs
- RealProxy.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- Lease.cs
- Translator.cs
- ReadWriteSpinLock.cs
- ImageDrawing.cs
- CompositeScriptReference.cs
- CacheChildrenQuery.cs
- TextElement.cs
- SimpleExpression.cs
- InternalControlCollection.cs
- ModelService.cs
- Decoder.cs
- ReadOnlyDataSourceView.cs
- TextRangeEdit.cs
- SqlCommand.cs
- FileSystemEventArgs.cs
- ObjectReaderCompiler.cs
- FeatureSupport.cs
- dbenumerator.cs
- ConnectionPointCookie.cs
- SHA256.cs
- IriParsingElement.cs
- SQlBooleanStorage.cs
- DetailsViewDeletedEventArgs.cs
- QilValidationVisitor.cs
- ProfileGroupSettings.cs
- Model3D.cs
- SignatureToken.cs
- ObjectItemCachedAssemblyLoader.cs
- Serializer.cs
- CompilerResults.cs
- HMACSHA384.cs
- AdRotator.cs
- XsltConvert.cs
- OpenTypeLayout.cs
- XmlAttributeHolder.cs
- ConnectionPoint.cs
- RegexCharClass.cs
- messageonlyhwndwrapper.cs
- SaveWorkflowCommand.cs
- RestHandler.cs
- CodeSubDirectoriesCollection.cs
- Mouse.cs
- AuthorizationRule.cs
- SplitterPanel.cs
- ScriptingProfileServiceSection.cs
- AmbiguousMatchException.cs
- GenericPrincipal.cs
- FormDocumentDesigner.cs
- DrawToolTipEventArgs.cs
- TextOutput.cs
- Geometry.cs
- ErrorTableItemStyle.cs
- HotSpotCollection.cs
- PreviewPageInfo.cs
- StrokeCollection.cs
- WindowsFormsSectionHandler.cs
- DataObjectCopyingEventArgs.cs
- ClaimTypeElement.cs
- XsltCompileContext.cs
- Filter.cs
- BamlVersionHeader.cs
- MethodMessage.cs
- PartialCachingControl.cs
- WorkflowOperationFault.cs
- TextDecorationCollection.cs
- WmlMobileTextWriter.cs
- SecurityAlgorithmSuiteConverter.cs
- MessageBodyMemberAttribute.cs
- DataRecordInternal.cs
- RangeBase.cs
- Int64AnimationUsingKeyFrames.cs
- TransformerConfigurationWizardBase.cs
- FixedBufferAttribute.cs
- Bezier.cs
- SimpleWebHandlerParser.cs
- ItemChangedEventArgs.cs
- KeySpline.cs
- ListViewTableCell.cs
- ParseHttpDate.cs
- NativeMethodsCLR.cs
- ChannelSinkStacks.cs
- DocumentSchemaValidator.cs
- FlatButtonAppearance.cs
- IDataContractSurrogate.cs
- Calendar.cs
- XmlSchemaSet.cs
- Sentence.cs
- CompiledIdentityConstraint.cs
- FieldBuilder.cs
- SupportingTokenSpecification.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ObjectQuery_EntitySqlExtensions.cs