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
- ResolveNameEventArgs.cs
- BitmapEffectInputConnector.cs
- ListViewSelectEventArgs.cs
- FlowDocumentPaginator.cs
- WorkerRequest.cs
- TrackingMemoryStreamFactory.cs
- SplashScreen.cs
- DataGridTextBox.cs
- TransformValueSerializer.cs
- CollectionBase.cs
- ObjectDataSourceDesigner.cs
- EventMappingSettingsCollection.cs
- FormattedText.cs
- MarkupCompilePass2.cs
- _SSPISessionCache.cs
- WebBrowserContainer.cs
- WindowVisualStateTracker.cs
- DocumentGridPage.cs
- LookupNode.cs
- OrderByQueryOptionExpression.cs
- ToolBar.cs
- IPipelineRuntime.cs
- StateDesigner.CommentLayoutGlyph.cs
- XmlProcessingInstruction.cs
- FixedSOMLineCollection.cs
- RadioButton.cs
- NetworkCredential.cs
- DictationGrammar.cs
- SafePointer.cs
- HttpCookie.cs
- RoleGroup.cs
- EventArgs.cs
- DataRow.cs
- Debug.cs
- Assembly.cs
- ErrorFormatter.cs
- WorkflowMarkupSerializer.cs
- PairComparer.cs
- CatalogPartChrome.cs
- DrawingContextDrawingContextWalker.cs
- CheckBoxBaseAdapter.cs
- DSASignatureDeformatter.cs
- Pens.cs
- XmlElementElementCollection.cs
- NetworkStream.cs
- ToolStripSettings.cs
- XhtmlConformanceSection.cs
- xml.cs
- SymDocumentType.cs
- ConfigurationManagerInternal.cs
- TextClipboardData.cs
- AbandonedMutexException.cs
- ValidatorUtils.cs
- StylusShape.cs
- DBSqlParser.cs
- PerformanceCountersElement.cs
- StatusBarItemAutomationPeer.cs
- Image.cs
- RankException.cs
- AsymmetricSecurityProtocolFactory.cs
- GiveFeedbackEventArgs.cs
- SQLGuid.cs
- SafeEventLogWriteHandle.cs
- ClientTargetSection.cs
- CompareInfo.cs
- Visual3D.cs
- FusionWrap.cs
- SkipQueryOptionExpression.cs
- CustomGrammar.cs
- cryptoapiTransform.cs
- CheckedPointers.cs
- FlowPanelDesigner.cs
- AnnotationHelper.cs
- GeometryConverter.cs
- ActivityStateRecord.cs
- ConfigurationManagerInternalFactory.cs
- DetailsViewRowCollection.cs
- PeerResolverSettings.cs
- ExpressionVisitor.cs
- ParameterModifier.cs
- TrackingValidationObjectDictionary.cs
- XsltArgumentList.cs
- CanonicalXml.cs
- Compiler.cs
- IssuanceLicense.cs
- PathTooLongException.cs
- UIElement3DAutomationPeer.cs
- DataGridViewDataErrorEventArgs.cs
- TextDecoration.cs
- ConnectionStringsSection.cs
- XMLDiffLoader.cs
- Size.cs
- CodeIndexerExpression.cs
- FeatureSupport.cs
- DirtyTextRange.cs
- CustomSignedXml.cs
- parserscommon.cs
- HtmlFormParameterReader.cs
- CellTreeNode.cs
- ArgumentNullException.cs