[msbuild] Fix MT4174 warning for the MyWatchKit2IntentsExtension test project. (#7842)

Fixes:

> MyWatchKit2IntentsExtension/IntentHandler.cs(36): warning MT4174: Unable to locate the block to delegate conversion method for the method MyWatchKit2IntentsExtension.IntentHandler.ResolveRecipients's parameter #2. [MyWatchKit2Extension/MyWatchKit2Extension.csproj]

The method signature probably changed from a beta release to the corresponding
stable release, and this method was never updated.
This commit is contained in:
Rolf Bjarne Kvinge 2020-02-11 15:27:08 +01:00 коммит произвёл GitHub
Родитель 29b9e75db9
Коммит b0242cfe48
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -32,7 +32,7 @@ namespace MyWatchKit2IntentsExtension
// Implement resolution methods to provide additional information about your intent (optional).
[Export ("resolveRecipientsForSearchForMessages:withCompletion:")]
public void ResolveRecipients (INSendMessageIntent intent, Action<INPersonResolutionResult[]> completion)
public void ResolveRecipients (INSearchForMessagesIntent intent, Action<INPersonResolutionResult[]> completion)
{
var recipients = intent.Recipients;
// If no recipients were provided we'll need to prompt for a value.