Table of Contents

Class ServiceVersion

Namespace
Tudormobile.Airthings.Service
Assembly
Airthings.Service.dll

Represents version and metadata information for the Airthings Service.

public record ServiceVersion : IEquatable<ServiceVersion>
Inheritance
ServiceVersion
Implements
Inherited Members

Constructors

ServiceVersion()

public ServiceVersion()

ServiceVersion(ServiceVersion)

protected ServiceVersion(ServiceVersion original)

Parameters

original ServiceVersion

Properties

Gets the copyright notice for the service.

public string Copyright { get; }

Property Value

string

Description

Gets a description of the service functionality.

public string Description { get; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

Gets the name of the service.

public string Name { get; }

Property Value

string

Version

Gets the version number of the service assembly.

public string Version { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ServiceVersion?)

public virtual bool Equals(ServiceVersion? other)

Parameters

other ServiceVersion

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ServiceVersion?, ServiceVersion?)

public static bool operator ==(ServiceVersion? left, ServiceVersion? right)

Parameters

left ServiceVersion
right ServiceVersion

Returns

bool

operator !=(ServiceVersion?, ServiceVersion?)

public static bool operator !=(ServiceVersion? left, ServiceVersion? right)

Parameters

left ServiceVersion
right ServiceVersion

Returns

bool