Exemple #1
0
        public FindGroups(METAboltInstance instance, UUID queryID)
        {
            InitializeComponent();

            findGroupsResults = new Dictionary<string, UUID>();
            this.queryID = queryID;

            this.instance = instance;
            netcom = this.instance.Netcom;
            client = this.instance.Client;
            AddClientEvents();
        }
        public FindGroups(METAboltInstance instance, UUID queryID)
        {
            InitializeComponent();

            findGroupsResults = new Dictionary <string, UUID>();
            this.queryID      = queryID;

            this.instance = instance;
            netcom        = this.instance.Netcom;
            client        = this.instance.Client;
            AddClientEvents();
        }
Exemple #3
0
 // maybe we shoould make this class abstract to force people to implement
 virtual public void Dispose()
 {
     _instance = null;
 }
Exemple #4
0
 virtual public void StartCommand(RadegastInstance inst)
 {
     _instance = inst;
 }
Exemple #5
0
 /// <summary>
 /// For simple creation of new commands
 /// </summary>
 /// <param name="inst"></param>
 /// <param name="exec"></param>
 public RadegastCommand(RadegastInstance inst, CommandExecuteDelegate exec)
 {
     _instance = inst;
     _execute  = exec;
 }
Exemple #6
0
 /// <summary>
 /// for subclasses (they should override Execute)
 /// </summary>
 /// <param name="name"></param>
 /// <summary>
 /// For simple creation of new commands
 /// </summary>
 /// <param name="inst"></param>
 public RadegastCommand(RadegastInstance inst)
 {
     _instance = inst;
     _execute  = null;
 }
Exemple #7
0
 /// <summary>
 /// For simple creation of new commands
 /// </summary>
 /// <param name="inst"></param>
 /// <param name="exec"></param>
 public RadegastCommand(RadegastInstance inst, CommandExecuteDelegate exec)
 {
     _instance = inst;
     _execute = exec;
 }
Exemple #8
0
 /// <summary>
 /// for subclasses (they should override Execute)
 /// </summary>
 /// <param name="name"></param>
 /// <summary>
 /// For simple creation of new commands
 /// </summary>
 /// <param name="inst"></param>
 public RadegastCommand(RadegastInstance inst)
 {
     _instance = inst;
     _execute = null;
 }
Exemple #9
0
 public virtual void StartCommand(RadegastInstance inst)
 {
     _instance = inst;
 }
Exemple #10
0
 // maybe we shoould make this class abstract to force people to implement
 public virtual void Dispose()
 {
     _instance = null;
 }