Exemplo 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());
        }
Exemplo n.º 2
0
 static BluetoothClass Make(A_DeviceClass dc, A_ServiceClass sc)
 {
     return(SimpleBluetoothClassMock.Create(dc, sc));
 }