source: trunk/CrypPluginBase/Attributes/AssemblyCt2BuildTypeAttribute.cs @ 2326

Last change on this file since 2326 was 2326, checked in by Matthäus Wander, 11 years ago

Build fix

File size: 663 bytes
Line 
1using System;
2
3namespace Cryptool.PluginBase.Attributes
4{
5    public enum Ct2BuildType
6    {
7        Developer = 0,
8        Nightly = 1,
9        Beta = 2,
10        Release = 3
11    }
12
13    [AttributeUsage(AttributeTargets.Assembly)]
14    public class AssemblyCt2BuildTypeAttribute : Attribute
15    {
16        public Ct2BuildType BuildType
17        {
18            get; set;
19        }
20
21        public AssemblyCt2BuildTypeAttribute(Ct2BuildType type)
22        {
23            this.BuildType = type;
24        }
25
26        public AssemblyCt2BuildTypeAttribute(int type)
27        {
28            this.BuildType = (Ct2BuildType) type;
29        }
30    }
31}
Note: See TracBrowser for help on using the repository browser.