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