Class UnqualifiedName
A base class for unqualified names: names that can be assigned to members, but that are not qualified by their enclosing members.
Implements
Inherited Members
Namespace: Flame
Assembly: Flame.dll
Syntax
public abstract class UnqualifiedName : IEquatable<UnqualifiedName>
Methods
| Improve this Doc View SourceEquals(UnqualifiedName)
Checks if this unqualified name equals another unqualified name.
Declaration
public abstract bool Equals(UnqualifiedName other)
Parameters
Type | Name | Description |
---|---|---|
Unqualified |
other | An unqualified name to compare this unqualified name to. |
Returns
Type | Description |
---|---|
System. |
|
Equals(Object)
Checks if this unqualified name equals an object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj | An object to compare this unqualified name to. |
Returns
Type | Description |
---|---|
System. |
|
Overrides
GetHashCode()
Gets a hash code for this unqualified name.
Declaration
public abstract override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code. |
Overrides
Qualify()
Creates a qualified name for this unqualified name.
Declaration
public QualifiedName Qualify()
Returns
Type | Description |
---|---|
Qualified |
Qualify(QualifiedName)
Qualifies this unqualified name with the given qualifier.
Declaration
public QualifiedName Qualify(QualifiedName qualifier)
Parameters
Type | Name | Description |
---|---|---|
Qualified |
qualifier |
Returns
Type | Description |
---|---|
Qualified |
Qualify(UnqualifiedName)
Qualifies this unqualified name with the given qualifier.
Declaration
public QualifiedName Qualify(UnqualifiedName qualifier)
Parameters
Type | Name | Description |
---|---|---|
Unqualified |
qualifier |
Returns
Type | Description |
---|---|
Qualified |
Qualify(String)
Qualifies this unqualified name with the given simple name.
Declaration
public QualifiedName Qualify(string qualifier)
Parameters
Type | Name | Description |
---|---|---|
System. |
qualifier |
Returns
Type | Description |
---|---|
Qualified |
ToString()
Gets a string representation for this unqualified name.
Declaration
public abstract override string ToString()
Returns
Type | Description |
---|---|
System. |
A string representation. |