예제 #1
0
 public ThreadWithStateSecond(string text, int number,
                              ExampleCallBack callBackDelegate)
 {
     boilerplate = text;
     value       = number;
     callBack    = callBackDelegate;
 }
 public ThreadWithStateSecond(string text, int number,
                              ExampleCallBack callBackDelegate)
 {
     boilerplate = text;
     value = number;
     callBack = callBackDelegate;
 }
예제 #3
0
 // The constructor obtains the state information and the
 // callback delegate.
 public ThreadStateWithCallBack(string text, int num, ExampleCallBack callBackDelegate)
 {
     boilerplate = text;
     numberValue = num;
     callback    = callBackDelegate;
 }
예제 #4
0
 public Server(string text, int number, ExampleCallBack callBackDelegate)
 {
     parameter1 = text;
     parameter2 = number;
     callback   = callBackDelegate;
 }