Exemple #1
0
 public SimpleAction(string id, string name, System.Action action)
 {
     this.id                = id;
     this.name              = name;
     this.action            = action;
     this.lastExecutedStore = null;
 }
Exemple #2
0
            public ContactAction(ILastExecutedStore lastExecutedStore, Contact contact)
                : base(lastExecutedStore)
            {
                var name = String.Format("{0}: {1}", "Contact", contact.ToString());

                this.Name    = name;
                this.Id      = name;
                this.Contact = contact;
            }
Exemple #3
0
 public ActionBase(ILastExecutedStore lastExecutedStore)
 {
     this.lastExecutedStore = lastExecutedStore;
 }
Exemple #4
0
 public NoteAction(Note note, ILastExecutedStore lastExecutedStore)
 {
     this.lastExecutedStore = lastExecutedStore;
     this.note = note;
 }