2017-11-09 06:21:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Ooui.Forms;
|
|
|
|
|
using Ooui.Forms.Renderers;
|
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
using Xamarin.Forms.Internals;
|
|
|
|
|
|
2017-11-09 07:57:04 +00:00
|
|
|
|
[assembly: Dependency (typeof (ResourcesProvider))]
|
2017-11-09 06:21:05 +00:00
|
|
|
|
[assembly: ExportRenderer (typeof (Button), typeof (ButtonRenderer))]
|
2017-11-10 00:09:48 +00:00
|
|
|
|
[assembly: ExportRenderer (typeof (Label), typeof (LabelRenderer))]
|
2017-11-09 06:21:05 +00:00
|
|
|
|
|
|
|
|
|
namespace Ooui.Forms
|
|
|
|
|
{
|
2017-11-09 21:03:56 +00:00
|
|
|
|
[AttributeUsage (AttributeTargets.Assembly, AllowMultiple = true)]
|
|
|
|
|
public sealed class ExportRendererAttribute : HandlerAttribute
|
|
|
|
|
{
|
|
|
|
|
public ExportRendererAttribute (Type handler, Type target)
|
|
|
|
|
: base (handler, target)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-11-09 06:21:05 +00:00
|
|
|
|
}
|