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
- CapacityStreamGeometryContext.cs
- DataRelation.cs
- OrderingExpression.cs
- SymbolPair.cs
- DataReaderContainer.cs
- PropertyGridView.cs
- NTAccount.cs
- BoolLiteral.cs
- SqlErrorCollection.cs
- ErasingStroke.cs
- StringPropertyBuilder.cs
- Propagator.cs
- FolderBrowserDialog.cs
- MailDefinition.cs
- SizeAnimation.cs
- DataGridViewUtilities.cs
- OpCodes.cs
- WebPartCatalogCloseVerb.cs
- RewritingSimplifier.cs
- XmlReader.cs
- DBPropSet.cs
- SqlClientPermission.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ThicknessAnimation.cs
- WebControl.cs
- ViewStateException.cs
- StringHelper.cs
- ServicesUtilities.cs
- PreservationFileWriter.cs
- Debug.cs
- StandardBindingImporter.cs
- WebHttpElement.cs
- UIElement.cs
- CheckBox.cs
- DesignerHost.cs
- StrokeNode.cs
- DataBoundControlParameterTarget.cs
- MemberHolder.cs
- BehaviorDragDropEventArgs.cs
- DbFunctionCommandTree.cs
- PropertyEmitter.cs
- HScrollProperties.cs
- InstalledFontCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- TimeEnumHelper.cs
- FileChangeNotifier.cs
- UserControlParser.cs
- SecureUICommand.cs
- TypeUnloadedException.cs
- complextypematerializer.cs
- WsdlInspector.cs
- _FtpDataStream.cs
- PropertyEmitterBase.cs
- UriSection.cs
- WebPageTraceListener.cs
- brushes.cs
- ToolboxItemCollection.cs
- Selection.cs
- ObjectConverter.cs
- LeftCellWrapper.cs
- ListViewAutomationPeer.cs
- ToolStripStatusLabel.cs
- TextSimpleMarkerProperties.cs
- TokenFactoryCredential.cs
- WindowsTokenRoleProvider.cs
- IDReferencePropertyAttribute.cs
- StateElement.cs
- WinFormsComponentEditor.cs
- OdbcParameter.cs
- RevocationPoint.cs
- ToolStripTextBox.cs
- ColumnCollection.cs
- _ChunkParse.cs
- DiscriminatorMap.cs
- OptimizedTemplateContentHelper.cs
- StructuralCache.cs
- DataSourceHelper.cs
- webproxy.cs
- WindowsGraphicsWrapper.cs
- XmlCountingReader.cs
- PerformanceCounterPermissionEntryCollection.cs
- EventLogTraceListener.cs
- WebConfigurationFileMap.cs
- XmlNamedNodeMap.cs
- PreviewKeyDownEventArgs.cs
- AmbientProperties.cs
- InkPresenter.cs
- BrushMappingModeValidation.cs
- DoubleIndependentAnimationStorage.cs
- ViewKeyConstraint.cs
- CodeSnippetCompileUnit.cs
- ProgramPublisher.cs
- RegexParser.cs
- SqlProviderUtilities.cs
- StringInfo.cs
- EventMappingSettings.cs
- AgileSafeNativeMemoryHandle.cs
- CompilerGlobalScopeAttribute.cs
- MeasureData.cs
- XmlParserContext.cs