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

14 lines
299 B
C#
Raw Normal View History

2012-11-09 19:28:59 +03:00
using System;
using AutoMapper;
2013-02-27 06:19:22 +03:00
using NzbDrone.Core.Qualities;
2012-11-09 19:28:59 +03:00
namespace NzbDrone.Api.Resolvers
{
2013-02-27 06:19:22 +03:00
public class QualityTypesToIntResolver : ValueResolver<Quality, Int32>
2012-11-09 19:28:59 +03:00
{
2013-02-27 06:19:22 +03:00
protected override int ResolveCore(Quality source)
2012-11-09 19:28:59 +03:00
{
return source.Id;
}
}
}