Class QualifiedName
Represents the name and namespace pair that is used to locate a type or schema object in a schema document.
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 |
---|---|---|
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 |
---|---|---|
String | name | Object name. |
String | ns | Object namespace. |
Properties
ExtensionData
Gets or sets ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
ExtensionDataObject |
Name
Gets the object name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Namespace
Gets the object namespace.
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
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 |
---|---|
Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns the string presentation of an object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The string presentation of an object. |