예제 #1
0
 /// <summary>
 /// Constructor. Used when object derives from UnmanagedHandle.
 /// </summary>
 /// <param name="ptsContext">
 /// PTS context
 /// </param>
 protected UnmanagedHandle(PtsContext ptsContext)
 {
     _ptsContext = ptsContext;
     _handle     = ptsContext.CreateHandle(this);
 }
예제 #2
0
 /// <summary>
 /// Constructor. Used when object derives from UnmanagedHandle.
 /// </summary>
 /// <param name="ptsContext">
 /// PTS context
 /// </param>
 protected UnmanagedHandle(PtsContext ptsContext)
 {
     _ptsContext = ptsContext;
     _handle = ptsContext.CreateHandle(this);
 }