Beispiel #1
0
        public static T Create <T>(IDictionary <KeyValuePair <string, string>, object> values)
            where T : MarshalByRefObject
        {
            var p = new MockAndroidBth1(typeof(T), values);

            return((T)p.GetTransparentProxy());
        }
 // too tricky for user to call
 private AndroidBthMockFactory(IDictionary <KeyValuePair <string, string>, object> values)
     : base(MockAndroidBth1.Create <BluetoothAdapter>(values))
 {
 }
 public AndroidBthMockFactory(AndroidMockValues values)
     : base(MockAndroidBth1.Create <BluetoothAdapter>(values))
 {
 }