コード例 #1
0
ファイル: Intrusive.cs プロジェクト: robinei/primevil
 public IntrusiveList()
 {
     // we implement a circular list, so both Prev and Next are both equal to this initially
     _head = new IntrusiveLink <TLinkKey> {
         Prev = this, Next = this
     };
 }
コード例 #2
0
ファイル: Intrusive.cs プロジェクト: robinei/primevil
 public void WithLink(IntrusiveLink <TLinkKey> .Handler func)
 {
     func(ref _head);
 }