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
- CngUIPolicy.cs
- ContentPosition.cs
- DescendentsWalkerBase.cs
- CompModSwitches.cs
- DiscoveryClientProtocol.cs
- DataServiceRequestException.cs
- ReachPageContentSerializerAsync.cs
- DataServiceException.cs
- CompilationUtil.cs
- PolyBezierSegment.cs
- VBIdentifierTrimConverter.cs
- SymbolType.cs
- DrawListViewColumnHeaderEventArgs.cs
- WebPartManager.cs
- LayoutSettings.cs
- FileLoadException.cs
- DiscoveryClientRequestChannel.cs
- UpdatePanel.cs
- unitconverter.cs
- CallSite.cs
- SafeLibraryHandle.cs
- EntityDataSourceEntityTypeFilterItem.cs
- RadioButtonAutomationPeer.cs
- SystemParameters.cs
- ForeignKeyConstraint.cs
- LightweightCodeGenerator.cs
- ComponentDispatcher.cs
- TreeViewItem.cs
- BufferedGraphicsContext.cs
- ClonableStack.cs
- TypeListConverter.cs
- BufferedGraphics.cs
- FormatterServices.cs
- Validator.cs
- SafeNativeMethods.cs
- EventSinkHelperWriter.cs
- CounterCreationData.cs
- StringKeyFrameCollection.cs
- ToolStripRenderer.cs
- TriState.cs
- Help.cs
- CheckBox.cs
- CssTextWriter.cs
- PerformanceCountersElement.cs
- CommonEndpointBehaviorElement.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- CLRBindingWorker.cs
- WorkflowElementDialog.cs
- Pkcs9Attribute.cs
- SpellCheck.cs
- LineBreakRecord.cs
- _SingleItemRequestCache.cs
- WindowsIdentity.cs
- RangeContentEnumerator.cs
- ManagedIStream.cs
- ComboBox.cs
- Inline.cs
- AnnotationAuthorChangedEventArgs.cs
- ContentTextAutomationPeer.cs
- BinaryWriter.cs
- TopClause.cs
- InstallerTypeAttribute.cs
- SafeTokenHandle.cs
- SafeCryptoHandles.cs
- CustomPopupPlacement.cs
- Predicate.cs
- typedescriptorpermission.cs
- MetafileHeaderWmf.cs
- RichTextBox.cs
- MapPathBasedVirtualPathProvider.cs
- DocumentViewerBaseAutomationPeer.cs
- AppDomainProtocolHandler.cs
- ListViewCommandEventArgs.cs
- TextEditorTyping.cs
- GlyphRun.cs
- AstTree.cs
- ValueTable.cs
- RequestResizeEvent.cs
- SkewTransform.cs
- SlotInfo.cs
- XmlDataSource.cs
- StringExpressionSet.cs
- XmlChildEnumerator.cs
- SoapMessage.cs
- Int32Converter.cs
- EventMappingSettings.cs
- UserMapPath.cs
- WorkflowServiceInstance.cs
- SessionStateItemCollection.cs
- MappingModelBuildProvider.cs
- Exception.cs
- TextServicesManager.cs
- Padding.cs
- ACE.cs
- TabPage.cs
- ProfileGroupSettings.cs
- OciLobLocator.cs
- ZipIOLocalFileBlock.cs
- SqlDataSourceFilteringEventArgs.cs
- AutomationPropertyInfo.cs