Ejemplo n.º 1
0
 public ShoreNetMarker(ShoreNetObject obj, String key)
     : this(obj, ShoreCObjectGetMarkerOf(obj.ptr, key))
 {
     if (ptr == IntPtr.Zero)
     {
         throw new KeyNotFoundException();
     }
 }
Ejemplo n.º 2
0
 public ShoreNetObject(ShoreNetObject shObject, UInt32 i)
     : this(shObject.parent, ShoreCObjectGetPart(shObject.ptr, i))
 {
     if (ptr == IntPtr.Zero)
     {
         throw new NullReferenceException();
     }
 }
Ejemplo n.º 3
0
 public ShoreNetMarker(ShoreNetObject obj, UInt32 i)
     : this(obj, ShoreCObjectGetMarker(obj.ptr, i))
 {
     if (ptr == IntPtr.Zero)
     {
         throw new IndexOutOfRangeException();
     }
 }
Ejemplo n.º 4
0
 public ShoreNetObject(ShoreNetObject shObject, String key)
     : this(shObject.parent, ShoreCObjectGetPartOf(shObject.ptr, key))
 {
     if (ptr == IntPtr.Zero)
     {
         throw new NullReferenceException();
     }
 }
Ejemplo n.º 5
0
 public ShoreNetRegion(ShoreNetObject shObj)
 {
     parent = shObj;
     ptr    = ShoreCObjectGetRegion(shObj.ptr);
     if (ptr == IntPtr.Zero)
     {
         throw new NullReferenceException();
     }
 }
Ejemplo n.º 6
0
 private ShoreNetMarker(ShoreNetObject parent, IntPtr ptr)
 {
     this.parent = parent;
     this.ptr    = ptr;
 }
Ejemplo n.º 7
0
 public ShoreNetMarker(ShoreNetObject obj, String key)
     : this(obj, ShoreCObjectGetMarkerOf(obj.ptr, key))
 {
     if (ptr == IntPtr.Zero)
         throw new KeyNotFoundException();
 }
Ejemplo n.º 8
0
 public ShoreNetMarker(ShoreNetObject obj, UInt32 i)
     : this(obj, ShoreCObjectGetMarker(obj.ptr, i))
 {
     if (ptr == IntPtr.Zero)
         throw new IndexOutOfRangeException();
 }
Ejemplo n.º 9
0
 private ShoreNetMarker(ShoreNetObject parent, IntPtr ptr)
 {
     this.parent = parent;
     this.ptr = ptr;
 }
Ejemplo n.º 10
0
 public ShoreNetObject(ShoreNetObject shObject, String key)
     : this(shObject.parent, ShoreCObjectGetPartOf(shObject.ptr, key))
 {
     if (ptr == IntPtr.Zero)
         throw new NullReferenceException();
 }
Ejemplo n.º 11
0
 public ShoreNetObject(ShoreNetObject shObject, UInt32 i)
     : this(shObject.parent, ShoreCObjectGetPart(shObject.ptr, i))
 {
     if (ptr == IntPtr.Zero)
         throw new NullReferenceException();
 }
Ejemplo n.º 12
0
 public ShoreNetRegion(ShoreNetObject shObj)
 {
     parent = shObj;
     ptr = ShoreCObjectGetRegion(shObj.ptr);
     if (ptr == IntPtr.Zero)
         throw new NullReferenceException();
 }