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
- AdornerDecorator.cs
- WorkflowRuntime.cs
- CustomErrorCollection.cs
- RelationshipManager.cs
- IndicCharClassifier.cs
- Logging.cs
- ListViewHitTestInfo.cs
- WorkflowViewService.cs
- CompensatableTransactionScopeActivity.cs
- HopperCache.cs
- PipelineComponent.cs
- NumericUpDown.cs
- XmlSchemaExporter.cs
- AddInSegmentDirectoryNotFoundException.cs
- SystemUnicastIPAddressInformation.cs
- EntityStoreSchemaFilterEntry.cs
- IProvider.cs
- EntityTypeBase.cs
- ConnectionStringsExpressionBuilder.cs
- TrackingLocationCollection.cs
- NameValueFileSectionHandler.cs
- DesignerSerializationVisibilityAttribute.cs
- ControlPaint.cs
- Events.cs
- WebPartAddingEventArgs.cs
- validationstate.cs
- StrokeNodeOperations2.cs
- MasterPageCodeDomTreeGenerator.cs
- CompiledQueryCacheKey.cs
- PassportAuthentication.cs
- XmlHierarchyData.cs
- InputLanguageSource.cs
- ObservableCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- MissingManifestResourceException.cs
- CodeNamespaceCollection.cs
- bidPrivateBase.cs
- Help.cs
- TableLayoutStyleCollection.cs
- XslAstAnalyzer.cs
- UnorderedHashRepartitionStream.cs
- OleDbTransaction.cs
- PathTooLongException.cs
- ErrorHandlerModule.cs
- Stroke2.cs
- BridgeDataReader.cs
- __Error.cs
- CustomValidator.cs
- ResourceSet.cs
- BaseCodeDomTreeGenerator.cs
- TraceListener.cs
- Contracts.cs
- XhtmlTextWriter.cs
- WebPartConnectionsCancelVerb.cs
- Point3D.cs
- MeasureItemEvent.cs
- CatalogPartChrome.cs
- UrlEncodedParameterWriter.cs
- Label.cs
- PrimitiveSchema.cs
- CommandBinding.cs
- XmlILConstructAnalyzer.cs
- TextBoxBase.cs
- SchemaAttDef.cs
- DataGridViewColumnCollection.cs
- Context.cs
- BaseContextMenu.cs
- ContextMenuStrip.cs
- DataContractSet.cs
- COMException.cs
- PrintDocument.cs
- WebPartDescriptionCollection.cs
- QueryGenerator.cs
- RemoteCryptoSignHashRequest.cs
- ListBindingHelper.cs
- Activation.cs
- FixedElement.cs
- LinqDataSourceValidationException.cs
- WebCategoryAttribute.cs
- DoubleAnimationUsingPath.cs
- GenericIdentity.cs
- ProfileEventArgs.cs
- CharacterMetrics.cs
- SqlBuilder.cs
- DeferredRunTextReference.cs
- PermissionSetTriple.cs
- TemplatedMailWebEventProvider.cs
- SqlDataSource.cs
- Dictionary.cs
- IndexedString.cs
- assemblycache.cs
- DataViewManager.cs
- AppendHelper.cs
- GroupByExpressionRewriter.cs
- SHA256.cs
- EdmToObjectNamespaceMap.cs
- assemblycache.cs
- DataControlFieldCell.cs
- LinqExpressionNormalizer.cs
- ContentPresenter.cs