Table of Contents

Struct MaskOption

Namespace
MudBlazor
Assembly
MudBlazor.dll

A filter which determines when to use a mask for a MultiMask.

public struct MaskOption : IEquatable<MaskOption>
Implements
Inherited Members
Extension Methods

Remarks

Example: to use this mask when an input starts with 4, use an expression of ^4.

Constructors

MaskOption(string, string, string)

A filter which determines when to use a mask for a MultiMask.

public MaskOption(string Id, string Mask, string Regex)

Parameters

Id string

The unique name for this mask.

Mask string

The mask characters defining this mask.

Regex string

The regular expression which, when matched, causes this mask to be used.

Remarks

Example: to use this mask when an input starts with 4, use an expression of ^4.

Properties

Id

The unique name for this mask.

public string Id { readonly get; set; }

Property Value

string

Mask

The mask characters defining this mask.

public string Mask { readonly get; set; }

Property Value

string

Regex

The regular expression which, when matched, causes this mask to be used.

public string Regex { readonly get; set; }

Property Value

string

Methods

Deconstruct(out string, out string, out string)

public readonly void Deconstruct(out string Id, out string Mask, out string Regex)

Parameters

Id string
Mask string
Regex string

Equals(MaskOption)

public readonly bool Equals(MaskOption other)

Parameters

other MaskOption

Returns

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(MaskOption, MaskOption)

public static bool operator ==(MaskOption left, MaskOption right)

Parameters

left MaskOption
right MaskOption

Returns

bool

operator !=(MaskOption, MaskOption)

public static bool operator !=(MaskOption left, MaskOption right)

Parameters

left MaskOption
right MaskOption

Returns

bool