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
| Edit this page View SourceEquals(UnqualifiedName)
Checks if this unqualified name equals another unqualified name.
Declaration
public abstract bool Equals(UnqualifiedName other)
Parameters
| Type | Name | Description |
|---|---|---|
| UnqualifiedName | other | An unqualified name to compare this unqualified name to. |
Returns
| Type | Description |
|---|---|
| bool |
|
Equals(object)
Checks if this unqualified name equals an object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | An object to compare this unqualified name to. |
Returns
| Type | Description |
|---|---|
| bool |
|
Overrides
| Edit this page View SourceGetHashCode()
Gets a hash code for this unqualified name.
Declaration
public override abstract int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code. |
Overrides
| Edit this page View SourceQualify()
Creates a qualified name for this unqualified name.
Declaration
public QualifiedName Qualify()
Returns
| Type | Description |
|---|---|
| QualifiedName |
Qualify(QualifiedName)
Qualifies this unqualified name with the given qualifier.
Declaration
public QualifiedName Qualify(QualifiedName qualifier)
Parameters
| Type | Name | Description |
|---|---|---|
| QualifiedName | qualifier |
Returns
| Type | Description |
|---|---|
| QualifiedName |
Qualify(UnqualifiedName)
Qualifies this unqualified name with the given qualifier.
Declaration
public QualifiedName Qualify(UnqualifiedName qualifier)
Parameters
| Type | Name | Description |
|---|---|---|
| UnqualifiedName | qualifier |
Returns
| Type | Description |
|---|---|
| QualifiedName |
Qualify(string)
Qualifies this unqualified name with the given simple name.
Declaration
public QualifiedName Qualify(string qualifier)
Parameters
| Type | Name | Description |
|---|---|---|
| string | qualifier |
Returns
| Type | Description |
|---|---|
| QualifiedName |
ToString()
Gets a string representation for this unqualified name.
Declaration
public override abstract string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation. |