Пример #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();
        }
Пример #2
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();
        }
Пример #3
0
 // maybe we shoould make this class abstract to force people to implement
 virtual public void Dispose()
 {
     _instance = null;
 }
Пример #4
0
 virtual public void StartCommand(RadegastInstance inst)
 {
     _instance = inst;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #9
0
 public virtual void StartCommand(RadegastInstance inst)
 {
     _instance = inst;
 }
Пример #10
0
 // maybe we shoould make this class abstract to force people to implement
 public virtual void Dispose()
 {
     _instance = null;
 }