[CarPlay] Add Support for DotNet Attributes

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
This commit is contained in:
TJ Lambert 2021-09-08 09:42:16 -05:00 коммит произвёл GitHub
Родитель 7e52b6656e
Коммит 88eb6d02d7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -11,12 +11,18 @@ using System;
using Foundation;
using ObjCRuntime;
using System.ComponentModel;
using System.Runtime.Versioning;
#if !XAMCORE_4_0
namespace CarPlay {
[Register (SkipRegistration = true)]
#if !NET
[Unavailable (PlatformName.iOS, PlatformArchitecture.All)]
[Obsolete ("This API has been removed from the native SDK.")]
#else
[UnsupportedOSPlatform ("ios")]
[Obsolete ("This API has been removed from the native SDK.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
[EditorBrowsable (EditorBrowsableState.Never)]
public class CPEntity : NSObject, INSSecureCoding {