60 строки
3.1 KiB
C#
60 строки
3.1 KiB
C#
using System.Reflection;
|
|
using Xamarin.Forms;
|
|
using Xamarin.Forms.Platform.UWP;
|
|
|
|
|
|
[assembly: Dependency(typeof(WindowsSerializer))]
|
|
|
|
// Views
|
|
|
|
[assembly: ExportRenderer(typeof(Layout), typeof(LayoutRenderer))]
|
|
[assembly: ExportRenderer(typeof(BoxView), typeof(BoxViewRenderer))]
|
|
[assembly: ExportRenderer(typeof(Image), typeof(ImageRenderer))]
|
|
[assembly: ExportRenderer(typeof(ImageButton), typeof(ImageButtonRenderer))]
|
|
[assembly: ExportRenderer(typeof(Label), typeof(LabelRenderer))]
|
|
[assembly: ExportRenderer(typeof(Button), typeof(ButtonRenderer))]
|
|
[assembly: ExportRenderer(typeof(ListView), typeof(ListViewRenderer))]
|
|
[assembly: ExportRenderer(typeof(CollectionView), typeof(CollectionViewRenderer))]
|
|
[assembly: ExportRenderer(typeof(ScrollView), typeof(ScrollViewRenderer))]
|
|
[assembly: ExportRenderer(typeof(ProgressBar), typeof(ProgressBarRenderer))]
|
|
[assembly: ExportRenderer(typeof(Slider), typeof(SliderRenderer))]
|
|
[assembly: ExportRenderer(typeof(Switch), typeof(SwitchRenderer))]
|
|
[assembly: ExportRenderer(typeof(WebView), typeof(WebViewRenderer))]
|
|
[assembly: ExportRenderer(typeof(Frame), typeof(FrameRenderer))]
|
|
[assembly: ExportRenderer(typeof(ActivityIndicator), typeof(ActivityIndicatorRenderer))]
|
|
[assembly: ExportRenderer(typeof(Editor), typeof(EditorRenderer))]
|
|
[assembly: ExportRenderer(typeof(Picker), typeof(PickerRenderer))]
|
|
[assembly: ExportRenderer(typeof(TimePicker), typeof(TimePickerRenderer))]
|
|
[assembly: ExportRenderer(typeof(DatePicker), typeof(DatePickerRenderer))]
|
|
[assembly: ExportRenderer(typeof(Stepper), typeof(StepperRenderer))]
|
|
[assembly: ExportRenderer(typeof(Entry), typeof(EntryRenderer))]
|
|
[assembly: ExportRenderer(typeof(TableView), typeof(TableViewRenderer))]
|
|
[assembly: ExportRenderer(typeof(NativeViewWrapper), typeof(NativeViewWrapperRenderer))]
|
|
|
|
//ImageSources
|
|
|
|
[assembly: ExportImageSourceHandler(typeof(FileImageSource), typeof(FileImageSourceHandler))]
|
|
[assembly: ExportImageSourceHandler(typeof(StreamImageSource), typeof(StreamImageSourceHandler))]
|
|
[assembly: ExportImageSourceHandler(typeof(UriImageSource), typeof(UriImageSourceHandler))]
|
|
[assembly: ExportImageSourceHandler(typeof(FontImageSource), typeof(FontImageSourceHandler))]
|
|
|
|
// Pages
|
|
|
|
[assembly: ExportRenderer(typeof(Page), typeof(PageRenderer))]
|
|
[assembly: ExportRenderer(typeof(NavigationPage), typeof(NavigationPageRenderer))]
|
|
[assembly: ExportRenderer(typeof(MasterDetailPage), typeof(MasterDetailPageRenderer))]
|
|
[assembly: ExportRenderer(typeof(CarouselPage), typeof(CarouselPageRenderer))]
|
|
|
|
// Cells
|
|
|
|
[assembly: ExportCell(typeof(Cell), typeof(TextCellRenderer))]
|
|
[assembly: ExportCell(typeof(ImageCell), typeof(ImageCellRenderer))]
|
|
[assembly: ExportCell(typeof(EntryCell), typeof(EntryCellRenderer))]
|
|
[assembly: ExportCell(typeof(SwitchCell), typeof(SwitchCellRenderer))]
|
|
[assembly: ExportCell(typeof(ViewCell), typeof(ViewCellRenderer))]
|
|
[assembly: Dependency(typeof(WindowsResourcesProvider))]
|
|
[assembly: ExportRenderer(typeof(SearchBar), typeof(SearchBarRenderer))]
|
|
[assembly: ExportRenderer(typeof(TabbedPage), typeof(TabbedPageRenderer))]
|
|
|
|
[assembly: AssemblyVersion("2.0.0.0")]
|
|
[assembly: AssemblyFileVersion("2.0.0.0")] |