diff options
Diffstat (limited to 'Xamarin.Forms.Core/DependencyAttribute.cs')
-rw-r--r-- | Xamarin.Forms.Core/DependencyAttribute.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/DependencyAttribute.cs b/Xamarin.Forms.Core/DependencyAttribute.cs new file mode 100644 index 00000000..e0ea22a1 --- /dev/null +++ b/Xamarin.Forms.Core/DependencyAttribute.cs @@ -0,0 +1,15 @@ +using System; + +namespace Xamarin.Forms +{ + [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] + public class DependencyAttribute : Attribute + { + public DependencyAttribute(Type implementorType) + { + Implementor = implementorType; + } + + internal Type Implementor { get; private set; } + } +}
\ No newline at end of file |