Class NameAsId
- Namespace
- GroupeIsa.Neos.Application.Ids
- Assembly
- GroupeIsa.Neos.Application.Abstractions.dll
Represents a report-related identifier backed by a name.
[ExcludeFromCodeCoverage(Justification = "This class is transpiled to TypeScript and only contains lightweight value-object behavior.")]
public abstract class NameAsId
- Inheritance
-
NameAsId
- Derived
- Inherited Members
Constructors
NameAsId(string)
Initializes a new instance of the NameAsId class with the specified name.
protected NameAsId(string name)
Parameters
namestringThe identifier name.
Properties
Name
Gets the identifier name.
public string Name { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.