Table of Contents

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

name string

The identifier name.

Properties

Name

Gets the identifier name.

public string Name { get; }

Property Value

string

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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.