Files
Umbraco-CMS/src/Umbraco.Core/Services/ServiceWithResultExtensions.cs

18 lines
650 B
C#
Raw Normal View History

2017-07-20 11:21:28 +02:00
namespace Umbraco.Core.Services
2015-12-21 14:27:36 +01:00
{
/// <summary>
/// These are used currently to return the temporary 'operation' interfaces for services
/// which are used to return a status from operational methods so we can determine if things are
/// cancelled, etc...
2017-07-20 11:21:28 +02:00
///
2015-12-21 14:27:36 +01:00
/// These will be obsoleted in v8 since all real services methods will be changed to have the correct result.
/// </summary>
public static class ServiceWithResultExtensions
{
public static IMediaServiceOperations WithResult(this IMediaService mediaService)
{
return (IMediaServiceOperations)mediaService;
}
}
2017-07-20 11:21:28 +02:00
}