Skip to main content

arolariu.Backend.Common.DDD.ValueObjects

arolariu.Backend.Common​

arolariu.Backend.Common.DDD.ValueObjects Namespace​

Classes​

ContactInformation Class​

Contact information value object.

public sealed record ContactInformation : System.IEquatable<arolariu.Backend.Common.DDD.ValueObjects.ContactInformation>

Inheritance System.Object 🡒 ContactInformation

Implements System.IEquatable<ContactInformation>

Constructors​

ContactInformation() Constructor​

public ContactInformation();

Properties​

ContactInformation.Address Property​

Gets or sets the address associated with the object.

public string Address { get; set; }

Property Value​

System.String

ContactInformation.EmailAddress Property​

Gets or sets the email address.

public string EmailAddress { get; set; }

Property Value​

System.String

ContactInformation.FullName Property​

Get or set the full name.

public string FullName { get; set; }

Property Value​

System.String

ContactInformation.PhoneNumber Property​

Gets or sets the phone number.

public string PhoneNumber { get; set; }

Property Value​

System.String

ContactInformation.Website Property​

Gets or sets the website URL.

public string Website { get; set; }

Property Value​

System.String

Structs​

Currency Struct​

The currency value object. This object adheres to the ISO 4217 standard.

public readonly record struct Currency : System.IEquatable<arolariu.Backend.Common.DDD.ValueObjects.Currency>

Implements System.IEquatable<Currency>

Constructors​

Currency(string, string, string) Constructor​

The currency value object. This object adheres to the ISO 4217 standard.

public Currency(string Name, string Code, string Symbol);

Parameters​

Name System.String

Code System.String

Symbol System.String

Properties​

Currency.Code Property​

public string Code { get; init; }

Property Value​

System.String

Currency.Name Property​

public string Name { get; init; }

Property Value​

System.String

Currency.Symbol Property​

public string Symbol { get; init; }

Property Value​

System.String

// was this page useful?