ImeiNumber Structure

IMEI number for a DeviceDto to identify with.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
[StructLayoutAttribute(LayoutKind.Explicit, Size = 8, CharSet = CharSet.Ansi)]
public readonly struct ImeiNumber : IEquatable<ImeiNumber>, 
	IComparable, IComparable<ImeiNumber>, IParsable<ImeiNumber>
Inheritance
Object    ValueType    ImeiNumber
Implements
IComparable, IComparableImeiNumber, IEquatableImeiNumber, IParsableImeiNumber

Constructors

ImeiNumber Default constructor for ImeiNumber.

Methods

CompareTo(ImeiNumber)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
CompareTo(Object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Equals(ImeiNumber)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
GetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
ParseParses a string into a value.
ToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
ToString(String) Returns the IMEI number as a string with the given separator inbetween the values. Example: 00-000000-000000-0 if separator is a dash.
TryParseTries to parse a string into a value.
TryParseInner Parses the given imeiNumber into a ImeiNumber object.

Operators

Equality(ImeiNumber, ImeiNumber) Checks for equality between two ImeiNumber instances.
GreaterThan(ImeiNumber, ImeiNumber) Compares two ImeiNumber instances for left hand being greater than the right hand.
GreaterThanOrEqual(ImeiNumber, ImeiNumber) Compares two ImeiNumber instances for left hand being greater than or equal to the right hand.
(ImeiNumber to String) Implicit operator to convert a ImeiNumber to a String.
Inequality(ImeiNumber, ImeiNumber) Checks for inequality between two ImeiNumber instances.
LessThan(ImeiNumber, ImeiNumber) Compares two ImeiNumber instances for left hand being less than the right hand.
LessThanOrEqual(ImeiNumber, ImeiNumber) Compares two ImeiNumber instances for left hand being less or equal to the right hand.

Fields

Empty Empty IMEI number.

See Also