~ubuntu-branches/ubuntu/trusty/mono-addins/trusty-proposed

« back to all changes in this revision

Viewing changes to Mono.Addins/Mono.Addins/AddinDependencyAttribute.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-04-25 11:11:33 UTC
  • mfrom: (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110425111133-t05u5p7o5fxx70fu
Tags: 0.6-2
Upload to Unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
namespace Mono.Addins
33
33
{
 
34
        /// <summary>
 
35
        /// Declares a dependency on an add-in or add-in host
 
36
        /// </summary>
34
37
        [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=true)]
35
38
        public class AddinDependencyAttribute: Attribute
36
39
        {
37
40
                string id;
38
41
                string version;
39
42
                
 
43
                /// <summary>
 
44
                /// Initializes the attribute
 
45
                /// </summary>
 
46
                /// <param name="id">
 
47
                /// Identifier of the add-in
 
48
                /// </param>
 
49
                /// <param name="version">
 
50
                /// Version of the add-in
 
51
                /// </param>
40
52
                public AddinDependencyAttribute (string id, string version)
41
53
                {
42
54
                        this.id = id;
43
55
                        this.version = version;
44
56
                }
45
57
                
 
58
                /// <summary>
 
59
                /// Identifier of the add-in
 
60
                /// </summary>
46
61
                public string Id {
47
62
                        get { return id; }
48
63
                }
49
64
                
 
65
                /// <summary>
 
66
                /// Version of the add-in
 
67
                /// </summary>
50
68
                public string Version {
51
69
                        get { return version; }
52
70
                }