Esempio n. 1
0
 public SharedCancellationTokenSource(Osrs.Threading.CancellationTokenSource osrsSource, SharedFireMode fireMode)
 {
     if (osrsSource != null)
     {
         this.osrsSource   = osrsSource;
         this.systemSource = new System.Threading.CancellationTokenSource();
     }
     this.SharedFireMode = fireMode;
 }
Esempio n. 2
0
 public SharedCancellationTokenSource(Osrs.Threading.CancellationTokenSource osrsSource, System.Threading.CancellationTokenSource systemSource)
     : this(osrsSource, systemSource, SharedFireMode.Bidirectional)
 {
 }