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
- RecommendedAsConfigurableAttribute.cs
- DateTimeConverter2.cs
- Propagator.Evaluator.cs
- NetworkInformationException.cs
- DataFormats.cs
- DataSetMappper.cs
- XmlSchemaType.cs
- NumberFunctions.cs
- BinaryCommonClasses.cs
- StickyNoteHelper.cs
- C14NUtil.cs
- TableLayoutPanelResizeGlyph.cs
- XmlSerializationGeneratedCode.cs
- ContentControl.cs
- PropertyInformationCollection.cs
- GeometryCollection.cs
- CodeTypeParameterCollection.cs
- PolicyLevel.cs
- SQLDecimal.cs
- __ConsoleStream.cs
- WebUtil.cs
- Rotation3D.cs
- AnnotationResourceChangedEventArgs.cs
- SubstitutionList.cs
- TableCellAutomationPeer.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SmtpMail.cs
- CodeAccessPermission.cs
- TemplateControlParser.cs
- FontFamily.cs
- InputScope.cs
- OpenTypeLayoutCache.cs
- DrawingVisual.cs
- Empty.cs
- Queue.cs
- FocusChangedEventArgs.cs
- Typography.cs
- AbandonedMutexException.cs
- InternalPermissions.cs
- HttpResponseInternalWrapper.cs
- VirtualPathUtility.cs
- ThicknessConverter.cs
- WasAdminWrapper.cs
- DataRecordInternal.cs
- ReadOnlyTernaryTree.cs
- FileSystemWatcher.cs
- ListChangedEventArgs.cs
- DataGridViewColumnConverter.cs
- WebPartTransformer.cs
- DummyDataSource.cs
- HttpRequest.cs
- RtfControlWordInfo.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ReversePositionQuery.cs
- TextProperties.cs
- ControlBuilderAttribute.cs
- KnownTypes.cs
- Preprocessor.cs
- DownloadProgressEventArgs.cs
- EllipticalNodeOperations.cs
- XmlAnyAttributeAttribute.cs
- RuntimeEnvironment.cs
- RegexCharClass.cs
- GridViewPageEventArgs.cs
- PropertyInformationCollection.cs
- EventHandlersStore.cs
- ToolStripButton.cs
- PointAnimationBase.cs
- ModifierKeysValueSerializer.cs
- CharacterString.cs
- RuleValidation.cs
- ContextInformation.cs
- FormsAuthenticationEventArgs.cs
- PageParserFilter.cs
- DrawItemEvent.cs
- listviewsubitemcollectioneditor.cs
- ForeignConstraint.cs
- SqlUtil.cs
- IdentityValidationException.cs
- RadioButton.cs
- HMACMD5.cs
- ActivityStatusChangeEventArgs.cs
- basenumberconverter.cs
- ConvertEvent.cs
- DataTableClearEvent.cs
- XmlSchemaSimpleContentRestriction.cs
- TouchFrameEventArgs.cs
- BinaryUtilClasses.cs
- Table.cs
- SchemaCollectionCompiler.cs
- FixedSOMTable.cs
- ObjectRef.cs
- InstanceKey.cs
- EncoderBestFitFallback.cs
- RsaKeyGen.cs
- StringSorter.cs
- SoapFault.cs
- EntityDataSourceChangingEventArgs.cs
- SrgsDocument.cs
- ipaddressinformationcollection.cs