45
bool enabledByDefault = true;
51
/// Initializes an add-in marker attribute
42
53
public AddinAttribute ()
58
/// Initializes an add-in marker attribute
61
/// Identifier of the add-in
46
63
public AddinAttribute (string id)
69
/// Initializes an add-in marker attribute
72
/// Identifier of the add-in
74
/// <param name="version">
75
/// Version of the add-in
51
77
public AddinAttribute (string id, string version)
54
80
this.version = version;
84
/// Identifier of the add-in.
58
87
get { return id != null ? id : string.Empty; }
59
88
set { id = value; }
92
/// Version of the add-in.
62
94
public string Version {
63
95
get { return version != null ? version : string.Empty; }
64
96
set { version = value; }
100
/// Version of the add-in with which this add-in is backwards compatible.
102
public string CompatVersion {
103
get { return compatVersion != null ? compatVersion : string.Empty; }
104
set { compatVersion = value; }
108
/// Namespace of the add-in
67
110
public string Namespace {
68
111
get { return ns != null ? ns : string.Empty; }
69
112
set { ns = value; }
116
/// Category of the add-in
72
118
public string Category {
73
119
get { return category != null ? category : string.Empty; }
74
120
set { category = value; }
124
/// Url to a web page with more information about the add-in
127
get { return url != null ? url : string.Empty; }
132
/// When set to True, the add-in will be automatically enabled after installing.
133
/// It's True by default.
135
public bool EnabledByDefault {
136
get { return this.enabledByDefault; }
137
set { this.enabledByDefault = value; }
143
public AddinFlags Flags {
144
get { return this.flags; }
145
set { this.flags = value; }