15 lines
460 B
C#
15 lines
460 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Umbraco.Core
|
|
{
|
|
/// <summary>
|
|
/// An <see cref="ISmsSender"/> that throws <see cref="NotImplementedException"/>
|
|
/// </summary>
|
|
internal class NotImplementedSmsSender : ISmsSender
|
|
{
|
|
public Task SendSmsAsync(string number, string message)
|
|
=> throw new NotImplementedException("To send an SMS ensure ISmsSender is implemented with a custom implementation");
|
|
}
|
|
}
|