2016-01-11 06:23:13 +08:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using BuildFeed.Local;
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2016-08-20 05:10:55 +08:00
|
|
|
|
namespace BuildFeed.Model
|
2015-11-10 00:43:05 +08:00
|
|
|
|
{
|
|
|
|
|
public enum TypeOfSource
|
|
|
|
|
{
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_PublicRelease))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
PublicRelease = 0,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_InternalLeak))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
InternalLeak = 1,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_UpdateGDR))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
UpdateGDR = 2,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_UpdateLDR))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
UpdateLDR = 3,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_AppPackage))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
AppPackage = 4,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_BuildTools))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
BuildTools = 5,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_Documentation))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
Documentation = 6,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_Logging))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
Logging = 7,
|
|
|
|
|
|
2016-07-15 21:39:30 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_PrivateLeak))]
|
2015-11-10 00:43:05 +08:00
|
|
|
|
PrivateLeak = 8
|
|
|
|
|
}
|
|
|
|
|
}
|