Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaIdentityConstraint.cs / 1305376 / XmlSchemaIdentityConstraint.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.ComponentModel; using System.Xml.Serialization; ////// /// public class XmlSchemaIdentityConstraint : XmlSchemaAnnotated { string name; XmlSchemaXPath selector; XmlSchemaObjectCollection fields = new XmlSchemaObjectCollection(); XmlQualifiedName qualifiedName = XmlQualifiedName.Empty; CompiledIdentityConstraint compiledConstraint = null; ///[To be supplied.] ////// /// [XmlAttribute("name")] public string Name { get { return name; } set { name = value; } } ///[To be supplied.] ////// /// [XmlElement("selector", typeof(XmlSchemaXPath))] public XmlSchemaXPath Selector { get { return selector; } set { selector = value; } } ///[To be supplied.] ////// /// [XmlElement("field", typeof(XmlSchemaXPath))] public XmlSchemaObjectCollection Fields { get { return fields; } } ///[To be supplied.] ////// /// [XmlIgnore] public XmlQualifiedName QualifiedName { get { return qualifiedName; } } internal void SetQualifiedName(XmlQualifiedName value) { qualifiedName = value; } [XmlIgnore] internal CompiledIdentityConstraint CompiledConstraint { get { return compiledConstraint; } set { compiledConstraint = value; } } [XmlIgnore] internal override string NameAttribute { get { return Name; } set { Name = value; } } } ///[To be supplied.] ////// /// public class XmlSchemaXPath : XmlSchemaAnnotated { string xpath; ///[To be supplied.] ////// /// [XmlAttribute("xpath"), DefaultValue("")] public string XPath { get { return xpath; } set { xpath = value; } } } ///[To be supplied.] ////// /// public class XmlSchemaUnique : XmlSchemaIdentityConstraint { } ///[To be supplied.] ////// /// public class XmlSchemaKey : XmlSchemaIdentityConstraint { } ///[To be supplied.] ////// /// public class XmlSchemaKeyref : XmlSchemaIdentityConstraint { XmlQualifiedName refer = XmlQualifiedName.Empty; ///[To be supplied.] ////// /// [XmlAttribute("refer")] public XmlQualifiedName Refer { get { return refer; } set { refer = (value == null ? XmlQualifiedName.Empty : value); } } } } // 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.Collections; using System.ComponentModel; using System.Xml.Serialization; ////// /// public class XmlSchemaIdentityConstraint : XmlSchemaAnnotated { string name; XmlSchemaXPath selector; XmlSchemaObjectCollection fields = new XmlSchemaObjectCollection(); XmlQualifiedName qualifiedName = XmlQualifiedName.Empty; CompiledIdentityConstraint compiledConstraint = null; ///[To be supplied.] ////// /// [XmlAttribute("name")] public string Name { get { return name; } set { name = value; } } ///[To be supplied.] ////// /// [XmlElement("selector", typeof(XmlSchemaXPath))] public XmlSchemaXPath Selector { get { return selector; } set { selector = value; } } ///[To be supplied.] ////// /// [XmlElement("field", typeof(XmlSchemaXPath))] public XmlSchemaObjectCollection Fields { get { return fields; } } ///[To be supplied.] ////// /// [XmlIgnore] public XmlQualifiedName QualifiedName { get { return qualifiedName; } } internal void SetQualifiedName(XmlQualifiedName value) { qualifiedName = value; } [XmlIgnore] internal CompiledIdentityConstraint CompiledConstraint { get { return compiledConstraint; } set { compiledConstraint = value; } } [XmlIgnore] internal override string NameAttribute { get { return Name; } set { Name = value; } } } ///[To be supplied.] ////// /// public class XmlSchemaXPath : XmlSchemaAnnotated { string xpath; ///[To be supplied.] ////// /// [XmlAttribute("xpath"), DefaultValue("")] public string XPath { get { return xpath; } set { xpath = value; } } } ///[To be supplied.] ////// /// public class XmlSchemaUnique : XmlSchemaIdentityConstraint { } ///[To be supplied.] ////// /// public class XmlSchemaKey : XmlSchemaIdentityConstraint { } ///[To be supplied.] ////// /// public class XmlSchemaKeyref : XmlSchemaIdentityConstraint { XmlQualifiedName refer = XmlQualifiedName.Empty; ///[To be supplied.] ////// /// [XmlAttribute("refer")] public XmlQualifiedName Refer { get { return refer; } set { refer = (value == null ? XmlQualifiedName.Empty : value); } } } } // 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
- returneventsaver.cs
- ILGen.cs
- Drawing.cs
- CachedFontFamily.cs
- WorkItem.cs
- InputBuffer.cs
- StateFinalizationActivity.cs
- StaticDataManager.cs
- FormsAuthenticationUser.cs
- TransformGroup.cs
- ComboBoxHelper.cs
- SapiRecoContext.cs
- XsltOutput.cs
- PkcsMisc.cs
- WMIInterop.cs
- KeyInstance.cs
- ProjectionPruner.cs
- TimeSpan.cs
- PropertyIDSet.cs
- AdornerPresentationContext.cs
- CellParaClient.cs
- DataGridViewCellEventArgs.cs
- SplineKeyFrames.cs
- XmlNavigatorFilter.cs
- Tool.cs
- RecognizeCompletedEventArgs.cs
- XPathSelectionIterator.cs
- TextTreeObjectNode.cs
- DictionarySectionHandler.cs
- Form.cs
- HandlerBase.cs
- ServiceDocument.cs
- FatalException.cs
- TypeGeneratedEventArgs.cs
- AnnotationService.cs
- TextBoxBase.cs
- PrinterSettings.cs
- ByteStack.cs
- ResponseBodyWriter.cs
- RegistrationServices.cs
- HtmlAnchor.cs
- SettingsPropertyWrongTypeException.cs
- ParallelTimeline.cs
- AddDataControlFieldDialog.cs
- SingleResultAttribute.cs
- EditingCommands.cs
- EntityDataSourceDataSelection.cs
- X509Extension.cs
- XmlAttributeCache.cs
- RequestQueryParser.cs
- ProcessHostMapPath.cs
- DataSysAttribute.cs
- NumericUpDown.cs
- PersistencePipeline.cs
- RelatedCurrencyManager.cs
- CompilerGeneratedAttribute.cs
- DataGridViewComponentPropertyGridSite.cs
- WFItemsToSpacerVisibility.cs
- VerificationException.cs
- WebPartCatalogCloseVerb.cs
- HtmlTableCell.cs
- JobCollate.cs
- RangeBase.cs
- SchemaMerger.cs
- RenderDataDrawingContext.cs
- ResolveResponse.cs
- StorageBasedPackageProperties.cs
- StringSorter.cs
- ExpandCollapsePattern.cs
- DbConnectionPoolGroup.cs
- DateTimeConstantAttribute.cs
- BitmapEffectGroup.cs
- _HeaderInfo.cs
- FontSource.cs
- RtfToken.cs
- FileSecurity.cs
- FontSource.cs
- PlatformNotSupportedException.cs
- FormClosedEvent.cs
- FreezableOperations.cs
- _HeaderInfoTable.cs
- ConfigsHelper.cs
- SafeSecurityHandles.cs
- MatrixTransform3D.cs
- ContextDataSourceView.cs
- RevocationPoint.cs
- NavigationProperty.cs
- WorkItem.cs
- PartitionerQueryOperator.cs
- DecoderFallback.cs
- SoapFault.cs
- EditingCoordinator.cs
- SectionUpdates.cs
- TypeSystemProvider.cs
- VectorCollection.cs
- DefaultSettingsSection.cs
- HealthMonitoringSectionHelper.cs
- OdbcConnectionHandle.cs
- XmlMembersMapping.cs
- MenuItem.cs