2017-04-07 00:37:59 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-03-22 23:02:25 +03:00
|
|
|
<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"
|
|
|
|
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"/>
|
2017-10-19 16:02:18 +03:00
|
|
|
<scg:List x:TypeArguments="scg:KeyValuePair(sys:String,sys:String)" x:Key="genericsquaredlist"/>
|
2016-03-22 23:02:25 +03:00
|
|
|
<scg:List x:TypeArguments="x:String" x:Key="stringList"/>
|
2017-04-07 00:37:59 +03:00
|
|
|
<scg:List x:TypeArguments="scg:KeyValuePair(x:String,x:String)" x:Key="TestList" x:Name="TestListMember" >
|
|
|
|
<scg:KeyValuePair x:TypeArguments="x:String,x:String" >
|
|
|
|
<x:Arguments>
|
|
|
|
<x:String>TheKey</x:String>
|
|
|
|
<x:String>TheValue</x:String>
|
|
|
|
</x:Arguments>
|
|
|
|
</scg:KeyValuePair>
|
|
|
|
</scg:List>
|
2016-03-22 23:02:25 +03:00
|
|
|
</ResourceDictionary>
|
|
|
|
</ContentPage.Resources>
|
|
|
|
</ContentPage>
|