summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/RenderWithAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/RenderWithAttribute.cs')
-rw-r--r--Xamarin.Forms.Core/RenderWithAttribute.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/RenderWithAttribute.cs b/Xamarin.Forms.Core/RenderWithAttribute.cs
new file mode 100644
index 00000000..75175306
--- /dev/null
+++ b/Xamarin.Forms.Core/RenderWithAttribute.cs
@@ -0,0 +1,15 @@
+using System;
+
+namespace Xamarin.Forms
+{
+ [AttributeUsage(AttributeTargets.Class)]
+ public sealed class RenderWithAttribute : Attribute
+ {
+ public RenderWithAttribute(Type type)
+ {
+ Type = type;
+ }
+
+ public Type Type { get; }
+ }
+} \ No newline at end of file