Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CqlParserHelpers.cs
- PhoneCall.cs
- StrokeFIndices.cs
- DescendantQuery.cs
- UnescapedXmlDiagnosticData.cs
- CatalogPartCollection.cs
- ExponentialEase.cs
- TypeBinaryExpression.cs
- DesignerDeviceConfig.cs
- SetState.cs
- PrefixQName.cs
- PerfCounterSection.cs
- Model3DGroup.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- DocumentSchemaValidator.cs
- Logging.cs
- DataContractSerializerServiceBehavior.cs
- SiteMapProvider.cs
- TextShapeableCharacters.cs
- ItemsChangedEventArgs.cs
- EpmContentSerializer.cs
- JapaneseCalendar.cs
- ListViewHitTestInfo.cs
- JoinGraph.cs
- ResourceDescriptionAttribute.cs
- SqlStatistics.cs
- DataGridRowHeader.cs
- ComEventsInfo.cs
- TextFormatterContext.cs
- InfoCardHelper.cs
- Stack.cs
- ImageListUtils.cs
- AuthenticationService.cs
- MessageQueueAccessControlEntry.cs
- PassportIdentity.cs
- DataSourceControlBuilder.cs
- XmlRootAttribute.cs
- PolyQuadraticBezierSegment.cs
- ButtonFieldBase.cs
- StdRegProviderWrapper.cs
- DataSourceCache.cs
- UpdatableWrapper.cs
- UshortList2.cs
- DataGridViewCellValidatingEventArgs.cs
- CacheOutputQuery.cs
- SynchronizationValidator.cs
- CellParaClient.cs
- SqlUtils.cs
- RawUIStateInputReport.cs
- ConfigurationSectionGroupCollection.cs
- QueryOperator.cs
- DirectoryObjectSecurity.cs
- BitmapEffectInput.cs
- TemplateBuilder.cs
- DataGridViewImageCell.cs
- TransactionContext.cs
- ChildrenQuery.cs
- CodeDirectionExpression.cs
- SelectorItemAutomationPeer.cs
- AssemblyBuilder.cs
- FontStretchConverter.cs
- IPGlobalProperties.cs
- AsyncStreamReader.cs
- PLINQETWProvider.cs
- ObjectParameterCollection.cs
- RegisteredScript.cs
- SerializationInfo.cs
- WebBrowserEvent.cs
- Membership.cs
- PointLightBase.cs
- FontFamily.cs
- MenuItemAutomationPeer.cs
- XmlDataImplementation.cs
- AdornerPresentationContext.cs
- SqlNotificationRequest.cs
- TranslateTransform3D.cs
- SqlDataSourceSelectingEventArgs.cs
- DefaultAuthorizationContext.cs
- NamespaceQuery.cs
- CqlBlock.cs
- ObjectAnimationUsingKeyFrames.cs
- Utils.cs
- ExtensionFile.cs
- QueryCursorEventArgs.cs
- PolicyManager.cs
- TreeView.cs
- _NegoState.cs
- Soap.cs
- HtmlTitle.cs
- EventLog.cs
- BaseTreeIterator.cs
- KerberosReceiverSecurityToken.cs
- DataSourceControlBuilder.cs
- XmlCountingReader.cs
- NullableConverter.cs
- Transform3D.cs
- ScriptingWebServicesSectionGroup.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ObjectTag.cs
- HtmlFormParameterReader.cs