summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml b/Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml
new file mode 100644
index 00000000..da224282
--- /dev/null
+++ b/Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
+ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+ xmlns:sys="clr-namespace:System;assembly=mscorlib"
+ xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
+ xmlns:scgs="clr-namespace:System.Collections.Generic;assembly=System"
+ x:Class="Xamarin.Forms.Xaml.UnitTests.GenericsTests">
+ <ContentPage.Resources>
+ <ResourceDictionary>
+ <scg:List x:TypeArguments="Button" x:Key="genericButtonList">
+ <Button />
+ <Button />
+ </scg:List>
+ <scg:List x:TypeArguments="Button" x:Key="genericButtonList1" x:Name="myList"/>
+ <scg:List x:TypeArguments="sys:String" x:Key="list"/>
+ <scg:Dictionary x:TypeArguments="sys:String, sys:String" x:Key="dict"/>
+ <scgs:Queue x:TypeArguments="scg:KeyValuePair(sys:String,sys:String)" x:Key="queue"/>
+ <scg:List x:TypeArguments="x:String" x:Key="stringList"/>
+ </ResourceDictionary>
+ </ContentPage.Resources>
+</ContentPage> \ No newline at end of file