From 80fc4e9fd3ecd100dd02a84c39cc28c760cb4635 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Mon, 31 Aug 2020 21:20:55 -0400 Subject: [PATCH] refactor: Improve documentation of `NotImplementedAttribute` --- src/Uno.Foundation/NotImplementedAttribute.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Uno.Foundation/NotImplementedAttribute.cs b/src/Uno.Foundation/NotImplementedAttribute.cs index 288adf9c9c06..ee06276c5386 100644 --- a/src/Uno.Foundation/NotImplementedAttribute.cs +++ b/src/Uno.Foundation/NotImplementedAttribute.cs @@ -5,16 +5,29 @@ namespace Uno { + /// + /// Marks a member or symbol as not implemented by Uno. + /// [System.AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)] public sealed class NotImplementedAttribute : Attribute { + /// + /// Creates an instance + /// public NotImplementedAttribute() { } + /// + /// Creates an instance with C# constants for which the symbol is not implemented. + /// + /// The list of not-implemented platforms public NotImplementedAttribute(params string[] platforms) { Platforms = platforms; } + /// + /// The list of platforms that are not implemented. When empty, all platforms are not implemented. + /// public string[]? Platforms { get; } } }