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
|
|
|
|
{
|
2017-02-24 04:53:49 +08:00
|
|
|
|
public enum TypeOfSource
|
|
|
|
|
{
|
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_PublicRelease))]
|
|
|
|
|
PublicRelease = 0,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_InternalLeak))]
|
|
|
|
|
InternalLeak = 1,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_UpdateGDR))]
|
|
|
|
|
UpdateGDR = 2,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_UpdateLDR))]
|
|
|
|
|
UpdateLDR = 3,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_AppPackage))]
|
|
|
|
|
AppPackage = 4,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_BuildTools))]
|
|
|
|
|
BuildTools = 5,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_Documentation))]
|
|
|
|
|
Documentation = 6,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_Logging))]
|
|
|
|
|
Logging = 7,
|
2015-11-10 00:43:05 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Model_Source_PrivateLeak))]
|
|
|
|
|
PrivateLeak = 8
|
|
|
|
|
}
|
2015-11-10 00:43:05 +08:00
|
|
|
|
}
|