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:
RKrom 2013-12-04 17:46:02 +01:00
parent 2a8e2475d8
commit a03bc31aef
247 changed files with 6986 additions and 8233 deletions

View file

@ -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;
}
}
}