public StdPair(IntPtr first, IntPtr second) { this._Imp = CreateImp(); this.NativePtr = this._Imp.Create(first, second); this._First = this._Imp.CreateFirst(first); this._Second = this._Imp.CreateSecond(second); }
internal StdPair(IntPtr ptr) { this._Imp = CreateImp(); this.NativePtr = ptr; this._First = this._Imp.GetFirst(ptr); this._Second = this._Imp.GetSecond(ptr); }
public StdPair(TFirst first, TSecond second) { this._Imp = CreateImp(); this.NativePtr = this._Imp.Create(first, second); this._Second = second; this._First = first; }