Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DependencyPropertyKey.cs
- CodeExpressionStatement.cs
- CompiledQuery.cs
- SafeFileMappingHandle.cs
- FileRecordSequence.cs
- DataServices.cs
- MutexSecurity.cs
- RsaSecurityTokenAuthenticator.cs
- grammarelement.cs
- CompoundFileStorageReference.cs
- TextSearch.cs
- FunctionQuery.cs
- SmiXetterAccessMap.cs
- prompt.cs
- PreviewPrintController.cs
- NativeMethodsCLR.cs
- CompilerErrorCollection.cs
- QilParameter.cs
- Parameter.cs
- ProjectionPathSegment.cs
- CellParagraph.cs
- Attribute.cs
- ConnectivityStatus.cs
- ControlAdapter.cs
- EntityTypeEmitter.cs
- FloatMinMaxAggregationOperator.cs
- ReaderWriterLock.cs
- EntityDataReader.cs
- Validator.cs
- DateTimeConverter2.cs
- TimelineClockCollection.cs
- TextEditorSpelling.cs
- DataGridTableCollection.cs
- XmlILStorageConverter.cs
- EntityDataSourceEntitySetNameItem.cs
- LabelAutomationPeer.cs
- AnimatedTypeHelpers.cs
- elementinformation.cs
- TemplateControlCodeDomTreeGenerator.cs
- InputReferenceExpression.cs
- XmlSchemaAttributeGroupRef.cs
- HttpHandlerActionCollection.cs
- XmlSchemaComplexContentExtension.cs
- ValidationPropertyAttribute.cs
- SqlDataSourceCommandEventArgs.cs
- HttpPostLocalhostServerProtocol.cs
- DllHostInitializer.cs
- DataObjectCopyingEventArgs.cs
- SBCSCodePageEncoding.cs
- BasicHttpBindingElement.cs
- StrongNameKeyPair.cs
- SchemaEntity.cs
- SoapAttributeAttribute.cs
- EntityDataSourceView.cs
- BaseConfigurationRecord.cs
- IERequestCache.cs
- CopyAction.cs
- SplitContainer.cs
- MouseEvent.cs
- DataPagerFieldCollection.cs
- XPathException.cs
- ObjectIDGenerator.cs
- UnsafeNativeMethods.cs
- ImportContext.cs
- VirtualDirectoryMappingCollection.cs
- Decorator.cs
- Scene3D.cs
- StylusPoint.cs
- BulletedListEventArgs.cs
- RoutingTable.cs
- CodeTypeMemberCollection.cs
- DataBoundLiteralControl.cs
- HwndAppCommandInputProvider.cs
- AssertFilter.cs
- TableLayoutPanelBehavior.cs
- TemplateBindingExtension.cs
- HttpCachePolicy.cs
- FontDriver.cs
- UidManager.cs
- ScopeCompiler.cs
- BaseCodePageEncoding.cs
- NotifyParentPropertyAttribute.cs
- PrincipalPermission.cs
- DelegatingConfigHost.cs
- XamlSerializerUtil.cs
- ITreeGenerator.cs
- GPPOINTF.cs
- Instrumentation.cs
- PolygonHotSpot.cs
- DataGridViewBand.cs
- DefaultMemberAttribute.cs
- XmlLoader.cs
- DataPagerFieldItem.cs
- StrokeCollectionDefaultValueFactory.cs
- Baml6ConstructorInfo.cs
- RangeValueProviderWrapper.cs
- XmlUtilWriter.cs
- DBSchemaRow.cs
- BinaryReader.cs
- GridViewPageEventArgs.cs