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
- IteratorFilter.cs
- ZipIOLocalFileDataDescriptor.cs
- StrokeCollectionDefaultValueFactory.cs
- DataGridAutoFormat.cs
- SpecialNameAttribute.cs
- KeyProperty.cs
- NullableIntAverageAggregationOperator.cs
- HMAC.cs
- IntegerValidator.cs
- WindowPattern.cs
- KeyInterop.cs
- CalendarKeyboardHelper.cs
- DesignerActionHeaderItem.cs
- EntitySqlException.cs
- RemoteArgument.cs
- UpDownEvent.cs
- LocatorPart.cs
- EventMappingSettingsCollection.cs
- ComplexBindingPropertiesAttribute.cs
- MissingManifestResourceException.cs
- DataRelationCollection.cs
- TableLayoutStyle.cs
- EventArgs.cs
- StaticSiteMapProvider.cs
- CommandBinding.cs
- SystemIPGlobalStatistics.cs
- MessagePartDescription.cs
- PointHitTestParameters.cs
- FixedTextBuilder.cs
- OutputCacheSettingsSection.cs
- EventMappingSettingsCollection.cs
- KeyManager.cs
- XmlWellformedWriter.cs
- FrameworkElement.cs
- SettingsAttributes.cs
- TypeHelpers.cs
- XMLDiffLoader.cs
- TextRunProperties.cs
- DesignTimeTemplateParser.cs
- XmlSchema.cs
- HttpVersion.cs
- ProfileEventArgs.cs
- NumericExpr.cs
- JsonServiceDocumentSerializer.cs
- ClientSideQueueItem.cs
- ListViewItemSelectionChangedEvent.cs
- TextWriterTraceListener.cs
- HttpProfileBase.cs
- TableAdapterManagerHelper.cs
- Polygon.cs
- Rfc2898DeriveBytes.cs
- TreeNodeCollection.cs
- _ProxyChain.cs
- RepeatButton.cs
- NativeWindow.cs
- Registry.cs
- Drawing.cs
- BitmapEffectDrawing.cs
- ExclusiveTcpListener.cs
- BrowserTree.cs
- CodeAttributeDeclarationCollection.cs
- RegexTypeEditor.cs
- TextEditorCharacters.cs
- PersianCalendar.cs
- StorageInfo.cs
- CodeDOMProvider.cs
- SqlCachedBuffer.cs
- ClientUtils.cs
- KeyFrames.cs
- TableAutomationPeer.cs
- PreservationFileWriter.cs
- SelfIssuedAuthAsymmetricKey.cs
- ConstraintEnumerator.cs
- ModelChangedEventArgsImpl.cs
- ObjectQueryExecutionPlan.cs
- TextureBrush.cs
- ServiceOperationWrapper.cs
- DataReaderContainer.cs
- HttpMethodConstraint.cs
- WebPartVerbsEventArgs.cs
- DelegateSerializationHolder.cs
- CodeArrayCreateExpression.cs
- StubHelpers.cs
- DecimalStorage.cs
- IndicFontClient.cs
- PropertyDescriptor.cs
- ActiveXContainer.cs
- CompiledRegexRunnerFactory.cs
- NameSpaceExtractor.cs
- PersonalizationEntry.cs
- SQLBytesStorage.cs
- BuildProvider.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- LinkClickEvent.cs
- NamespaceList.cs
- ArraySet.cs
- XmlUrlResolver.cs
- Rotation3DAnimationUsingKeyFrames.cs
- StrongTypingException.cs
- TimeStampChecker.cs