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
- WrappedIUnknown.cs
- WebScriptEnablingBehavior.cs
- LocationUpdates.cs
- SimpleType.cs
- ComponentResourceManager.cs
- safelink.cs
- SignalGate.cs
- UIElementIsland.cs
- XmlSchemaValidationException.cs
- DeviceContext.cs
- BaseCodePageEncoding.cs
- PrePrepareMethodAttribute.cs
- BrowserInteropHelper.cs
- ContainerControl.cs
- SortedSet.cs
- TemplateComponentConnector.cs
- ValidationErrorEventArgs.cs
- AppPool.cs
- TraceListeners.cs
- _NegoStream.cs
- ExpressionBuilderCollection.cs
- ServiceModelStringsVersion1.cs
- RemoteWebConfigurationHostStream.cs
- DrawingDrawingContext.cs
- NativeCompoundFileAPIs.cs
- FrameworkTextComposition.cs
- BinaryMessageEncodingBindingElement.cs
- DependencyPropertyKind.cs
- EnumCodeDomSerializer.cs
- ObjectPersistData.cs
- Internal.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- CookieProtection.cs
- SequenceDesigner.cs
- IndexExpression.cs
- ToolStripTemplateNode.cs
- HwndHost.cs
- SystemFonts.cs
- Transform3D.cs
- StorageInfo.cs
- HTMLTagNameToTypeMapper.cs
- InheritanceContextChangedEventManager.cs
- HtmlEncodedRawTextWriter.cs
- RegisteredArrayDeclaration.cs
- CompositionTarget.cs
- InkCanvasAutomationPeer.cs
- RelationshipConverter.cs
- VScrollBar.cs
- CommunicationObjectAbortedException.cs
- DataSourceComponent.cs
- DataGridViewColumnCollection.cs
- RemotingConfiguration.cs
- ItemType.cs
- XmlToDatasetMap.cs
- FloaterBaseParaClient.cs
- BrushMappingModeValidation.cs
- MemoryMappedView.cs
- MethodMessage.cs
- WebMessageEncodingElement.cs
- GetParentChain.cs
- EmptyStringExpandableObjectConverter.cs
- Pkcs9Attribute.cs
- HMAC.cs
- SoapIncludeAttribute.cs
- ColorTranslator.cs
- NamespaceQuery.cs
- ComponentCommands.cs
- FilePrompt.cs
- StylusTouchDevice.cs
- XmlUtil.cs
- AliasExpr.cs
- KnownBoxes.cs
- SettingsProviderCollection.cs
- Assembly.cs
- PropertyPathConverter.cs
- SharedPerformanceCounter.cs
- ConfigurationManagerInternalFactory.cs
- PasswordRecoveryAutoFormat.cs
- QuadraticBezierSegment.cs
- ToolStripHighContrastRenderer.cs
- TextTreeTextBlock.cs
- Literal.cs
- HttpResponseBase.cs
- WebPartVerbCollection.cs
- X509SecurityToken.cs
- MatchNoneMessageFilter.cs
- ConfigurationSchemaErrors.cs
- Merger.cs
- HtmlMeta.cs
- ADMembershipUser.cs
- MediaCommands.cs
- SchemaType.cs
- ButtonBase.cs
- DataObjectAttribute.cs
- MsmqIntegrationMessageProperty.cs
- validation.cs
- EntityStoreSchemaGenerator.cs
- ChtmlPhoneCallAdapter.cs
- WebPartZoneBase.cs
- XmlSerializer.cs