Exemple #1
0
 public INetworkBackingStore CreateNetworkBackingStore(Guid id, BackingStoreType type)
 {
     INetworkBackingStore store = null;
     if (type == BackingStoreType.InMemory)
     {
         store = new NetworkBackingStore(id);
     }
     else
     {
         throw new NotImplementedException(string.Format("BackingStoreType {0} not yet implemented", type));
     }
     return store;
 }
Exemple #2
0
 public Window(Rect rect, WindowStyle stylemask, BackingStoreType backingstore, bool defer)
 {
     NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeClass.ToIntPtr (), "alloc", typeof (IntPtr));
     NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeObject, "initWithContentRect:styleMask:backing:defer:", typeof (IntPtr), typeof (Rect), rect, typeof (int), stylemask, typeof (int), backingstore, typeof (bool), defer);
 }
 public Window(Rect rect, WindowStyle stylemask, BackingStoreType backingstore, bool defer)
 {
     NativeObject = (IntPtr)ObjCMessaging.objc_msgSend(NativeClass.ToIntPtr(), "alloc", typeof(IntPtr));
     NativeObject = (IntPtr)ObjCMessaging.objc_msgSend(NativeObject, "initWithContentRect:styleMask:backing:defer:", typeof(IntPtr), typeof(Rect), rect, typeof(int), stylemask, typeof(int), backingstore, typeof(bool), defer);
 }