Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GatewayIPAddressInformationCollection.cs
- DataSourceControlBuilder.cs
- QueryCacheEntry.cs
- DataList.cs
- ScriptHandlerFactory.cs
- Point4DValueSerializer.cs
- HtmlAnchor.cs
- AnnotationResourceChangedEventArgs.cs
- KnownTypeAttribute.cs
- HuffmanTree.cs
- WebPartEditVerb.cs
- Errors.cs
- Helpers.cs
- DataSourceProvider.cs
- ScrollEvent.cs
- DBConnectionString.cs
- HandlerFactoryCache.cs
- DisableDpiAwarenessAttribute.cs
- ExpandCollapsePattern.cs
- ReliableSession.cs
- WsdlBuildProvider.cs
- WebPartCatalogCloseVerb.cs
- PerformanceCounterManager.cs
- RelatedImageListAttribute.cs
- ResourceContainerWrapper.cs
- AccessViolationException.cs
- Util.cs
- TemplateControl.cs
- VisualBasicSettingsHandler.cs
- SystemException.cs
- ValueQuery.cs
- SecurityContextSecurityTokenResolver.cs
- TextTreeUndo.cs
- VariantWrapper.cs
- EntityAdapter.cs
- TypeDescriptor.cs
- EdmEntityTypeAttribute.cs
- NodeLabelEditEvent.cs
- CustomError.cs
- ThemeDictionaryExtension.cs
- CopyOfAction.cs
- MissingFieldException.cs
- BindingMemberInfo.cs
- SqlStatistics.cs
- ListViewPagedDataSource.cs
- ResXBuildProvider.cs
- IPAddressCollection.cs
- WebPartActionVerb.cs
- Separator.cs
- WrappedOptions.cs
- BrowsableAttribute.cs
- XmlDeclaration.cs
- TableCell.cs
- FigureParagraph.cs
- SqlDataSourceEnumerator.cs
- _NestedSingleAsyncResult.cs
- Tile.cs
- TransactionFormatter.cs
- ListViewDeleteEventArgs.cs
- Int16Storage.cs
- EmptyStringExpandableObjectConverter.cs
- WebPartEventArgs.cs
- OdbcHandle.cs
- OpenTypeLayout.cs
- Rect3DValueSerializer.cs
- CapabilitiesPattern.cs
- PropertyCollection.cs
- HtmlInputPassword.cs
- DynamicResourceExtension.cs
- DragDeltaEventArgs.cs
- VisualTransition.cs
- DBSqlParserTable.cs
- PropertyGridCommands.cs
- TextEditorTyping.cs
- DataContractSet.cs
- SelectionRangeConverter.cs
- BaseCodePageEncoding.cs
- Compiler.cs
- ProbeDuplexAsyncResult.cs
- SerializerDescriptor.cs
- DataGridViewUtilities.cs
- SQlBooleanStorage.cs
- ContentDefinition.cs
- WebServiceHostFactory.cs
- NetworkInformationPermission.cs
- RelationshipConstraintValidator.cs
- CompatibleIComparer.cs
- DynamicQueryableWrapper.cs
- CommentGlyph.cs
- XmlNodeList.cs
- ProviderConnectionPointCollection.cs
- MaterialGroup.cs
- DocumentPageHost.cs
- InputProviderSite.cs
- CompilerScopeManager.cs
- ExpressionBuilderContext.cs
- UnsafeNativeMethods.cs
- Int16Storage.cs
- ToolStripTextBox.cs
- CodeLabeledStatement.cs