Esempio n. 1
0
        private static T Create <T>(DeviceClass dc, ServiceClass sc)
            where T : MarshalByRefObject
        {
            var p = new SimpleBluetoothClassMock(typeof(T), dc, sc);

            return((T)p.GetTransparentProxy());
        }