Class PhoneSettings<T>
Contains a list of general phone settings
Inheritance
System.Object
PhoneSettings<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.PhoneInterface
Assembly: Simplic.Framework.dll
Syntax
public class PhoneSettings<T>
where T : IPhoneInterface
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourcePhoneSettings()
Initialize new settings
Declaration
public PhoneSettings()
Properties
| Improve this Doc View SourceExchangeIdentificationCode
Gets or sets the exchange identification code
Declaration
public string ExchangeIdentificationCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InterfaceTypeName
Gets the type for which the settings are made
Declaration
public string InterfaceTypeName { get; }
Property Value
Type | Description |
---|---|
System.String |
PhoneNumberPrefix
Gets or sets the number that will be added to a phonenumber as prefix, if the number does not start with PreventPrefixIfStartsWith
Declaration
public string PhoneNumberPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PlusReplaceString
Gets or sets the string that an occurrence of "+" is replace with. Example: "+123" will become "00123"
Declaration
public string PlusReplaceString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PreventPrefixIfStartsWith
Gets or sets the string that prevents the prefix from beeing used
Declaration
public string PreventPrefixIfStartsWith { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoveCurrentCountryPhoneCode
Gets or sets whether to remove country phone codes from out going calls, if it is the same as the current phone code
Declaration
public bool RemoveCurrentCountryPhoneCode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceGetFormattedPhoneNumber(String)
Get a prepared phone number
Declaration
public string GetFormattedPhoneNumber(string phoneNumber)
Parameters
Type | Name | Description |
---|---|---|
System.String | phoneNumber | Not formatted phone number |
Returns
Type | Description |
---|---|
System.String | Phonenumber instance |