コード例 #1
0
ファイル: COMPortUtils.cs プロジェクト: wendtek/RCHourglass
 public void Dispose()
 {
     if (theSingleton == this)
     {
         theSingleton = null;
     }
 }
コード例 #2
0
ファイル: COMPortUtils.cs プロジェクト: wendtek/RCHourglass
 public ComPortCommandExecutor()
 {
     if (theSingleton == null)
     {
         theSingleton = this;
     }
 }