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
- controlskin.cs
- MappedMetaModel.cs
- StateMachineWorkflow.cs
- XamlFigureLengthSerializer.cs
- ToolStripLabel.cs
- DirectoryNotFoundException.cs
- Schema.cs
- DependencyPropertyConverter.cs
- XmlAttributes.cs
- FontCacheLogic.cs
- Stacktrace.cs
- NetPeerTcpBindingCollectionElement.cs
- AllMembershipCondition.cs
- XmlAttributeOverrides.cs
- DomNameTable.cs
- WeakEventTable.cs
- HeaderUtility.cs
- ClusterRegistryConfigurationProvider.cs
- XmlSchemaSimpleContentRestriction.cs
- NominalTypeEliminator.cs
- Registry.cs
- CodeTypeDelegate.cs
- ZipIOCentralDirectoryFileHeader.cs
- Deflater.cs
- XmlEncoding.cs
- DbUpdateCommandTree.cs
- Cursors.cs
- SplitterEvent.cs
- WebHttpSecurityElement.cs
- AuthenticationServiceManager.cs
- _RequestLifetimeSetter.cs
- CompModSwitches.cs
- DesignTimeVisibleAttribute.cs
- FunctionImportMapping.cs
- ServiceDiscoveryBehavior.cs
- FamilyTypeface.cs
- Application.cs
- ParenthesizePropertyNameAttribute.cs
- SelectionProviderWrapper.cs
- EdgeProfileValidation.cs
- HtmlWindow.cs
- TextRangeProviderWrapper.cs
- Brush.cs
- AssociatedControlConverter.cs
- ConnectionPoolRegistry.cs
- PassportAuthentication.cs
- JobInputBins.cs
- EventArgs.cs
- DataGridViewCellConverter.cs
- _SslSessionsCache.cs
- OracleInternalConnection.cs
- ClientFormsAuthenticationCredentials.cs
- AttributeAction.cs
- TickBar.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- CheckBoxField.cs
- StringComparer.cs
- ReflectionUtil.cs
- BindingNavigatorDesigner.cs
- CanonicalFontFamilyReference.cs
- TextElement.cs
- Line.cs
- XamlToRtfWriter.cs
- ProcessManager.cs
- WebServiceFault.cs
- HandlerBase.cs
- AspNetSynchronizationContext.cs
- ApplicationProxyInternal.cs
- ToolBarPanel.cs
- CachingHintValidation.cs
- DataGridLinkButton.cs
- CodeAssignStatement.cs
- QueueProcessor.cs
- EventLogInternal.cs
- HitTestParameters3D.cs
- PageAdapter.cs
- TextTabProperties.cs
- LogExtent.cs
- FieldNameLookup.cs
- ClientSettingsProvider.cs
- X509ChainElement.cs
- SessionStateContainer.cs
- ProofTokenCryptoHandle.cs
- Literal.cs
- OrCondition.cs
- Transform3DGroup.cs
- HwndAppCommandInputProvider.cs
- LinearKeyFrames.cs
- ToolStripDesignerAvailabilityAttribute.cs
- AutoResizedEvent.cs
- KeyTimeConverter.cs
- ChildrenQuery.cs
- DataControlField.cs
- COM2EnumConverter.cs
- ScaleTransform.cs
- DocumentViewer.cs
- AuthenticationManager.cs
- RijndaelManaged.cs
- SqlProvider.cs
- FormViewDeleteEventArgs.cs