Table of Contents

Class PhoneNumberMatch

Namespace
PhoneNumbers
Assembly
PhoneNumbers.dll
public class PhoneNumberMatch
Inheritance
PhoneNumberMatch
Inherited Members

Constructors

PhoneNumberMatch(int, string?, PhoneNumber?)

public PhoneNumberMatch(int start, string? rawString, PhoneNumber? number)

Parameters

start int
rawString string
number PhoneNumber

Properties

Length

public int Length { get; }

Property Value

int

Number

public PhoneNumber Number { get; }

Property Value

PhoneNumber

RawString

public string RawString { get; }

Property Value

string

Start

public int Start { get; }

Property Value

int

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.