Пример #1
0
        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);
        }
Пример #2
0
        internal StdPair(IntPtr ptr)
        {
            this._Imp      = CreateImp();
            this.NativePtr = ptr;

            this._First  = this._Imp.GetFirst(ptr);
            this._Second = this._Imp.GetSecond(ptr);
        }
Пример #3
0
        public StdPair(TFirst first, TSecond second)
        {
            this._Imp      = CreateImp();
            this.NativePtr = this._Imp.Create(first, second);

            this._Second = second;
            this._First  = first;
        }