public override bool Execute ()
{
- MessageImportance messageImportance;
-
+ if (text == null)
+ return true;
-
+ MessageImportance messageImportance;
if (importance == null)
messageImportance = MessageImportance.Normal;
else {
return false;
}
-
-
Log.LogMessage (messageImportance, text, null);
}
public string Importance {
- get {
- return importance;
- }
- set {
- importance = value;
- }
+ get { return importance; }
+ set { importance = value; }
}
public string Text {
- get {
- return text;
- }
- set {
- text = value;
- }
+ get { return text; }
+ set { text = value; }
}
}
}