1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00
Sonarr/NzbDrone.Api/Resolvers/QualityTypesToIntResolver.cs

18 lines
391 B
C#
Raw Normal View History

2012-11-09 19:28:59 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoMapper;
using NzbDrone.Core.Repository.Quality;
namespace NzbDrone.Api.Resolvers
{
public class QualityTypesToIntResolver : ValueResolver<QualityTypes, Int32>
{
protected override int ResolveCore(QualityTypes source)
{
return source.Id;
}
}
}