Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ValidDtmfs Class Reference

This is a helper class for validating dtmfs specified in strings More...

Static Public Member Functions

static void Validate (char digit)
 
static void Validate (IEnumerable< char > variations)
 

Static Public Attributes

static readonly Dictionary< char, int > ValidDtmfSet
 list of valid dtmfs More...
 

Detailed Description

This is a helper class for validating dtmfs specified in strings

Definition at line 10 of file ValidDtmfs.cs.

Member Function Documentation

static void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ValidDtmfs.Validate ( char  digit)
inlinestatic

Definition at line 35 of file ValidDtmfs.cs.

static void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ValidDtmfs.Validate ( IEnumerable< char >  variations)
inlinestatic

Definition at line 40 of file ValidDtmfs.cs.

Member Data Documentation

readonly Dictionary<char, int> Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ValidDtmfs.ValidDtmfSet
static
Initial value:
= new Dictionary<char, int>()
{
{'0', 0},
{'1', 1},
{'2', 2},
{'3', 3},
{'4', 4},
{'5', 5},
{'6', 6},
{'7', 7},
{'8', 8},
{'9', 9},
{'*', 10},
{'#', 11},
{'A', 12},
{'B', 13},
{'C', 14},
{'D', 15},
}

list of valid dtmfs

Definition at line 15 of file ValidDtmfs.cs.


The documentation for this class was generated from the following file: