Remove unnecessaray parameter of TizenDeviceInfo
[platform/upstream/xamarin-forms.git] / Xamarin.Forms.Pages / StringJsonSource.cs
1 using System.Threading.Tasks;
2
3 namespace Xamarin.Forms.Pages
4 {
5         public class StringJsonSource : JsonSource
6         {
7                 public static readonly BindableProperty JsonProperty = BindableProperty.Create(nameof(Json), typeof(string), typeof(StringJsonSource), null);
8
9                 public string Json
10                 {
11                         get { return (string)GetValue(JsonProperty); }
12                         set { SetValue(JsonProperty, value); }
13                 }
14
15                 public override Task<string> GetJson()
16                 {
17                         return Task.FromResult(Json);
18                 }
19         }
20 }