private static T Create <T>(DeviceClass dc, ServiceClass sc) where T : MarshalByRefObject { var p = new SimpleBluetoothClassMock(typeof(T), dc, sc); return((T)p.GetTransparentProxy()); }
static BluetoothClass Make(A_DeviceClass dc, A_ServiceClass sc) { return(SimpleBluetoothClassMock.Create(dc, sc)); }