예제 #1
0
 internal CbParker(ParkerCallback pkcb) : base(1)
 {
     callback = pkcb;
 }
예제 #2
0
 internal CbParker(ParkerCallback pkcb) : base(1) {
     callback = pkcb;
 }
예제 #3
0
파일: StParker.cs 프로젝트: duarten/mono
		internal CbParker (ParkerCallback pkcb, bool useSynchronizationContext,
                         bool useExecutionContext) : base (1) 
		{
         callback = pkcb;

			if (useSynchronizationContext) {
				sctx = SynchronizationContext.Current;
			}

			if (useExecutionContext) {
				ectx = ExecutionContext.Capture ();
			}
      }