Class QualifiedName
Represents the name and namespace pair that is used to locate a type or schema object in a schema document.
Inheritance
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class QualifiedName : IEquatable<QualifiedName>, IExtensibleDataObject
Constructors
QualifiedName(String)
Initializes a new instance with the specified name.
Declaration
public QualifiedName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Object name. |
QualifiedName(String, String)
Initializes a new instance with the specified name and namespace.
Declaration
public QualifiedName(string name, string ns)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Object name. |
System.String | ns | Object namespace. |
Properties
ExtensionData
Gets or sets System.Runtime.Serialization.ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.Serialization.ExtensionDataObject |
Name
Gets the object name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Namespace
Gets the object namespace.
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(QualifiedName)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(QualifiedName other)
Parameters
Type | Name | Description |
---|---|---|
QualifiedName | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns the string presentation of an object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string presentation of an object. |