mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Creating a branch 1.1 where I will try to make the 1.1.7 build available, this means I need to merge some changes from 2.0 to here.
This commit is contained in:
parent
2a8e2475d8
commit
a03bc31aef
247 changed files with 6986 additions and 8233 deletions
|
@ -42,22 +42,49 @@ namespace Greenshot.IniFile {
|
|||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Field|AttributeTargets.Property, AllowMultiple = false)]
|
||||
public class IniPropertyAttribute : Attribute {
|
||||
private string name;
|
||||
public IniPropertyAttribute(string name) {
|
||||
this.name = name;
|
||||
public IniPropertyAttribute() {
|
||||
Separator = ",";
|
||||
}
|
||||
public IniPropertyAttribute(string name) : this() {
|
||||
this.Name = name;
|
||||
}
|
||||
public string Description {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string Separator {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string DefaultValue {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string LanguageKey {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string Description;
|
||||
public string Separator = ",";
|
||||
public string DefaultValue;
|
||||
public string LanguageKey;
|
||||
// If Encrypted is set to true, the value will be decrypted on load and encrypted on save
|
||||
public bool Encrypted = false;
|
||||
public bool FixedValue = false;
|
||||
public bool ExcludeIfNull=false;
|
||||
|
||||
public bool Encrypted {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool FixedValue {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool Expert {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool ExcludeIfNull {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Name {
|
||||
get { return name; }
|
||||
set { name = value; }
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue