namespace Umbraco.Core.Composing
{
///
/// Provides a base class for targeted service factories.
///
///
public abstract class TargetedServiceFactory
{
private readonly IFactory _factory;
protected TargetedServiceFactory(IFactory factory)
{
_factory = factory;
}
public TService For() => _factory.GetInstanceFor();
}
}