Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaIdentityConstraint.cs / 1 / 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
- WebBrowserHelper.cs
- HttpConfigurationSystem.cs
- SAPICategories.cs
- XmlLoader.cs
- AttachedPropertyBrowsableAttribute.cs
- TypedOperationInfo.cs
- CodeBlockBuilder.cs
- DefaultHttpHandler.cs
- X509PeerCertificateElement.cs
- QilXmlReader.cs
- ProviderBase.cs
- UnlockInstanceAsyncResult.cs
- BamlRecords.cs
- DataBindEngine.cs
- DataGridColumnHeaderAutomationPeer.cs
- PenThread.cs
- XmlException.cs
- ColorConverter.cs
- TabControl.cs
- LoginDesigner.cs
- KeyBinding.cs
- EntityDataSourceDataSelectionPanel.cs
- Point3DValueSerializer.cs
- PropagationProtocolsTracing.cs
- PropertyManager.cs
- BuildProvider.cs
- SrgsRulesCollection.cs
- WebResourceAttribute.cs
- EntityViewGenerator.cs
- AuthenticationService.cs
- AtomServiceDocumentSerializer.cs
- WebRequestModulesSection.cs
- ComPlusSynchronizationContext.cs
- CopyEncoder.cs
- TextEditorSelection.cs
- TextElementCollectionHelper.cs
- sqlnorm.cs
- OpenTypeLayoutCache.cs
- OverrideMode.cs
- Model3DCollection.cs
- SafeViewOfFileHandle.cs
- BuildResultCache.cs
- ProviderManager.cs
- InternalControlCollection.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- ValueType.cs
- Internal.cs
- ControlAdapter.cs
- SqlFacetAttribute.cs
- InstancePersistenceCommandException.cs
- SafeThreadHandle.cs
- Int32Converter.cs
- CellQuery.cs
- CommandEventArgs.cs
- Win32KeyboardDevice.cs
- Profiler.cs
- DataSourceCollectionBase.cs
- IndicFontClient.cs
- PhysicalOps.cs
- _BasicClient.cs
- UInt32Converter.cs
- CompilerInfo.cs
- VarRefManager.cs
- BamlBinaryWriter.cs
- MemberCollection.cs
- PerformanceCounterPermissionEntryCollection.cs
- TextTreeFixupNode.cs
- FixedTextContainer.cs
- DashStyle.cs
- PropertyMapper.cs
- WindowsListViewGroupHelper.cs
- ProcessHostMapPath.cs
- LocatorBase.cs
- HttpCookie.cs
- indexingfiltermarshaler.cs
- LinqTreeNodeEvaluator.cs
- DrawingContext.cs
- HeaderedItemsControl.cs
- XPathNavigator.cs
- ChtmlImageAdapter.cs
- GetPageNumberCompletedEventArgs.cs
- PermissionSetTriple.cs
- MSHTMLHostUtil.cs
- TreeViewImageGenerator.cs
- HostProtectionPermission.cs
- WebServiceEnumData.cs
- ChannelEndpointElement.cs
- HashHelper.cs
- WmiEventSink.cs
- AnimationClockResource.cs
- DesignRelationCollection.cs
- DetailsViewInsertEventArgs.cs
- HistoryEventArgs.cs
- FontInfo.cs
- GlyphRunDrawing.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ClrPerspective.cs
- BreadCrumbTextConverter.cs
- PriorityRange.cs
- TraceInternal.cs