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
originalServiceVersion
Properties
Copyright
Gets the copyright notice for the service.
public string Copyright { get; }
Property Value
Description
Gets a description of the service functionality.
public string Description { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
Gets the name of the service.
public string Name { get; }
Property Value
Version
Gets the version number of the service assembly.
public string Version { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ServiceVersion?)
public virtual bool Equals(ServiceVersion? other)
Parameters
otherServiceVersion
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ServiceVersion?, ServiceVersion?)
public static bool operator ==(ServiceVersion? left, ServiceVersion? right)
Parameters
leftServiceVersionrightServiceVersion
Returns
operator !=(ServiceVersion?, ServiceVersion?)
public static bool operator !=(ServiceVersion? left, ServiceVersion? right)
Parameters
leftServiceVersionrightServiceVersion