Beispiel #1
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(FormsApp).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("FormsApp.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         ResourceDictionary resourceDictionary1 = new ResourceDictionary();
         FormsApp           formsApp;
         NameScope          nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(formsApp = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)formsApp, (INameScope)nameScope);
         ((Application)formsApp).set_Resources(resourceDictionary1);
         ResourceDictionary resourceDictionary2 = resourceDictionary1;
         Uri uri1;
         resourceDictionary1.SetAndLoadSource(uri1 = new Uri("Styles.xaml", UriKind.RelativeOrAbsolute), "Styles.xaml", typeof(FormsApp).GetTypeInfo().Assembly, (IXmlLineInfo) new XmlLineInfo(9, 29));
         Uri uri2 = uri1;
         resourceDictionary2.set_Source(uri2);
         ((Application)formsApp).set_Resources(resourceDictionary1);
     }
 }
Beispiel #2
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(InformationPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/InformationPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         DataTemplate            dataTemplate1       = new DataTemplate();
         ListView           listView            = new ListView((ListViewCachingStrategy)1);
         StackLayout        stackLayout         = new StackLayout();
         TranslateExtension translateExtension2 = new TranslateExtension();
         BindingExtension   bindingExtension2   = new BindingExtension();
         EmptyView          emptyView           = new EmptyView();
         Grid            grid = new Grid();
         InformationPage informationPage;
         NameScope       nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(informationPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)informationPage, (INameScope)nameScope);
         translateExtension1.Text = "Information_Page_Title";
         TranslateExtension  translateExtension3  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)informationPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Page.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("iOsSpecific", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(InformationPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(13, 5)));
         object obj2 = ((IMarkupExtension)translateExtension3).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((Page)informationPage).set_Title((string)obj2);
         ((BindableObject)informationPage).SetValue((BindableProperty)Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("ListViewMonthGroupHeaderTemplate");
         StaticResourceExtension resourceExtension2   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 4];
         objArray2[0] = (object)listView;
         objArray2[1] = (object)stackLayout;
         objArray2[2] = (object)grid;
         objArray2[3] = (object)informationPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)ListView.GroupHeaderTemplateProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("iOsSpecific", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(InformationPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(25, 21)));
         object obj4 = ((IMarkupExtension)resourceExtension2).ProvideValue((IServiceProvider)xamlServiceProvider2);
         listView.set_GroupHeaderTemplate((DataTemplate)obj4);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.HasUnevenRowsProperty, (object)true);
         bindingExtension1.set_Path("Informations");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ItemsView <Cell> .ItemsSourceProperty, bindingBase1);
         ((BindableObject)listView).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         DataTemplate dataTemplate2 = dataTemplate1;
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         InformationPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_22 xamlCdataTemplate22 = new InformationPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_22();
         object[] objArray3 = new object[0 + 5];
         objArray3[0] = (object)dataTemplate1;
         objArray3[1] = (object)listView;
         objArray3[2] = (object)stackLayout;
         objArray3[3] = (object)grid;
         objArray3[4] = (object)informationPage;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate22.parentValues = objArray3;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate22.root = informationPage;
         // ISSUE: reference to a compiler-generated method
         Func <object> func = new Func <object>(xamlCdataTemplate22.LoadDataTemplate);
         ((IDataTemplate)dataTemplate2).set_LoadTemplate(func);
         ((BindableObject)listView).SetValue((BindableProperty)ItemsView <Cell> .ItemTemplateProperty, (object)dataTemplate1);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)listView);
         ((ICollection <View>)grid.get_Children()).Add((View)stackLayout);
         translateExtension2.Text = "Information_Page_Empty_List";
         TranslateExtension  translateExtension4  = translateExtension2;
         XamlServiceProvider xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 3];
         objArray4[0] = (object)emptyView;
         objArray4[1] = (object)grid;
         objArray4[2] = (object)informationPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray4, (object)EmptyView.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("iOsSpecific", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(InformationPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(65, 17)));
         object obj6 = ((IMarkupExtension)translateExtension4).ProvideValue((IServiceProvider)xamlServiceProvider3);
         emptyView.Title = (string)obj6;
         ((BindableObject)emptyView).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(0.0, -12.0, 0.0, 0.0));
         bindingExtension2.set_Path("Informations.Count");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)emptyView).SetBinding((BindableProperty)BindableObject.BindingContextProperty, bindingBase2);
         ((BindableObject)emptyView).SetValue(EmptyView.ImageProperty, (object)"resource://Ekreta.Mobile.Core.Images.KretaMan_smile.png?assembly=Ekreta.Mobile.Core");
         ((BindableObject)emptyView).SetValue(EmptyView.IsSubtitleVisibleProperty, (object)false);
         ((ICollection <View>)grid.get_Children()).Add((View)emptyView);
         ((BindableObject)informationPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid);
     }
 }
Beispiel #3
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(EventDetailPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/EventDetailPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         RowDefinition           rowDefinition1      = new RowDefinition();
         RowDefinition           rowDefinition2      = new RowDefinition();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         RowDefinition           rowDefinition3      = new RowDefinition();
         RowDefinition           rowDefinition4      = new RowDefinition();
         StaticResourceExtension resourceExtension3  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         Label label1 = new Label();
         StaticResourceExtension resourceExtension4 = new StaticResourceExtension();
         BindingExtension        bindingExtension2  = new BindingExtension();
         Label                   label2             = new Label();
         StackLayout             stackLayout        = new StackLayout();
         StaticResourceExtension resourceExtension5 = new StaticResourceExtension();
         CachedImage             cachedImage        = new CachedImage();
         Grid             grid1             = new Grid();
         BindingExtension bindingExtension3 = new BindingExtension();
         WebView          webView           = new WebView();
         Grid             grid2             = new Grid();
         EventDetailPage  eventDetailPage;
         NameScope        nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(eventDetailPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)eventDetailPage, (INameScope)nameScope);
         translateExtension1.Text = "EventDetail_Page_Title";
         TranslateExtension  translateExtension2  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)eventDetailPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Page.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(EventDetailPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(13, 5)));
         object obj2 = ((IMarkupExtension)translateExtension2).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((Page)eventDetailPage).set_Title((string)obj2);
         ((BindableObject)eventDetailPage).SetValue((BindableProperty)Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension6   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 1];
         objArray2[0] = (object)eventDetailPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(EventDetailPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(16, 5)));
         object obj4 = ((IMarkupExtension)resourceExtension6).ProvideValue((IServiceProvider)xamlServiceProvider2);
         ((VisualElement)eventDetailPage).set_BackgroundColor((Color)obj4);
         ((BindableObject)rowDefinition1).SetValue((BindableProperty)RowDefinition.HeightProperty, new GridLengthTypeConverter().ConvertFromInvariantString("Auto"));
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid2).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition1);
         ((BindableObject)rowDefinition2).SetValue((BindableProperty)RowDefinition.HeightProperty, new GridLengthTypeConverter().ConvertFromInvariantString("*"));
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid2).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition2);
         resourceExtension2.set_Key("DetailHeaderHolderStyle");
         StaticResourceExtension resourceExtension7   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 3];
         objArray3[0] = (object)grid1;
         objArray3[1] = (object)grid2;
         objArray3[2] = (object)eventDetailPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver3.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(EventDetailPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(27, 15)));
         object obj6 = ((IMarkupExtension)resourceExtension7).ProvideValue((IServiceProvider)xamlServiceProvider3);
         ((NavigableElement)grid1).set_Style((Style)obj6);
         ((BindableObject)rowDefinition3).SetValue((BindableProperty)RowDefinition.HeightProperty, new GridLengthTypeConverter().ConvertFromInvariantString("*"));
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid1).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition3);
         ((BindableObject)rowDefinition4).SetValue((BindableProperty)RowDefinition.HeightProperty, new GridLengthTypeConverter().ConvertFromInvariantString("50"));
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid1).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition4);
         ((BindableObject)stackLayout).SetValue((BindableProperty)Layout.PaddingProperty, (object)new Thickness(0.0, 10.0, 0.0, 0.0));
         ((BindableObject)stackLayout).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         resourceExtension3.set_Key("DetailDataTitleStyle");
         StaticResourceExtension resourceExtension8   = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 5];
         objArray4[0] = (object)label1;
         objArray4[1] = (object)stackLayout;
         objArray4[2] = (object)grid1;
         objArray4[3] = (object)grid2;
         objArray4[4] = (object)eventDetailPage;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray4, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver4.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(EventDetailPage).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(33, 24)));
         object obj8 = ((IMarkupExtension)resourceExtension8).ProvideValue((IServiceProvider)xamlServiceProvider4);
         ((NavigableElement)label1).set_Style((Style)obj8);
         bindingExtension1.set_Path("Event.Title");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)label1).SetBinding((BindableProperty)Label.TextProperty, bindingBase1);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label1);
         ((BindableObject)label2).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(6.0));
         resourceExtension4.set_Key("DetailDataDescriptionStyle");
         StaticResourceExtension resourceExtension9   = resourceExtension4;
         XamlServiceProvider     xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 5];
         objArray5[0] = (object)label2;
         objArray5[1] = (object)stackLayout;
         objArray5[2] = (object)grid1;
         objArray5[3] = (object)grid2;
         objArray5[4] = (object)eventDetailPage;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray5, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver5.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver5.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver5.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver5.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver5.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(EventDetailPage).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(36, 21)));
         object obj10 = ((IMarkupExtension)resourceExtension9).ProvideValue((IServiceProvider)xamlServiceProvider5);
         ((NavigableElement)label2).set_Style((Style)obj10);
         bindingExtension2.set_StringFormat("{0:D}");
         bindingExtension2.set_Path("Event.Date");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)label2).SetBinding((BindableProperty)Label.TextProperty, bindingBase2);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label2);
         ((ICollection <View>)grid1.get_Children()).Add((View)stackLayout);
         ((BindableObject)cachedImage).SetValue((BindableProperty)Grid.RowProperty, (object)1);
         resourceExtension5.set_Key("DetailHeaderBottomCachedImageStyle");
         StaticResourceExtension resourceExtension10  = resourceExtension5;
         XamlServiceProvider     xamlServiceProvider6 = new XamlServiceProvider();
         Type     type11    = typeof(IProvideValueTarget);
         object[] objArray6 = new object[0 + 4];
         objArray6[0] = (object)cachedImage;
         objArray6[1] = (object)grid1;
         objArray6[2] = (object)grid2;
         objArray6[3] = (object)eventDetailPage;
         SimpleValueTargetProvider valueTargetProvider6;
         object obj11 = (object)(valueTargetProvider6 = new SimpleValueTargetProvider(objArray6, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider6.Add(type11, (object)valueTargetProvider6);
         xamlServiceProvider6.Add(typeof(IReferenceProvider), obj11);
         Type type12 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver6 = new XmlNamespaceResolver();
         namespaceResolver6.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver6.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver6.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver6.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver6.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver6.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver6.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver6.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver6.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver6 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver6, typeof(EventDetailPage).GetTypeInfo().Assembly);
         xamlServiceProvider6.Add(type12, (object)xamlTypeResolver6);
         xamlServiceProvider6.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(40, 54)));
         object obj12 = ((IMarkupExtension)resourceExtension10).ProvideValue((IServiceProvider)xamlServiceProvider6);
         ((NavigableElement)cachedImage).set_Style((Style)obj12);
         ((ICollection <View>)grid1.get_Children()).Add((View)cachedImage);
         ((ICollection <View>)grid2.get_Children()).Add((View)grid1);
         ((BindableObject)webView).SetValue((BindableProperty)Grid.RowProperty, (object)1);
         ((BindableObject)webView).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         webView.add_Navigating(new EventHandler <WebNavigatingEventArgs>(eventDetailPage.WebView_OnNavigating));
         bindingExtension3.set_Path("Event.WebViewSource");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)webView).SetBinding((BindableProperty)WebView.SourceProperty, bindingBase3);
         ((BindableObject)webView).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         ((ICollection <View>)grid2.get_Children()).Add((View)webView);
         ((BindableObject)eventDetailPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid2);
     }
 }
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(ProfilesPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/ProfilesPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         TranslateExtension      translateExtension2 = new TranslateExtension();
         ToolbarItem             toolbarItem         = new ToolbarItem();
         BindingExtension        bindingExtension2   = new BindingExtension();
         BindingExtension        bindingExtension3   = new BindingExtension();
         DataTemplate            dataTemplate1       = new DataTemplate();
         ListView listView = new ListView();
         StaticResourceExtension resourceExtension2 = new StaticResourceExtension();
         BindingExtension        bindingExtension4  = new BindingExtension();
         StaticResourceExtension resourceExtension3 = new StaticResourceExtension();
         CircleImage             circleImage        = new CircleImage();
         BindingExtension        bindingExtension5  = new BindingExtension();
         ActivityIndicator       activityIndicator  = new ActivityIndicator();
         Grid         grid1 = new Grid();
         Grid         grid2 = new Grid();
         ProfilesPage profilesPage;
         NameScope    nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(profilesPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)profilesPage, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("Page", (object)profilesPage);
         if (((Element)profilesPage).get_StyleId() == null)
         {
             ((Element)profilesPage).set_StyleId("Page");
         }
         this.Page = (MvxContentPage <ProfilesViewModel>)profilesPage;
         translateExtension1.Text = "Page_Profiles_Title";
         TranslateExtension  translateExtension3  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)profilesPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Xamarin.Forms.Page.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(ProfilesPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(15, 5)));
         object obj2 = ((IMarkupExtension)translateExtension3).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((Xamarin.Forms.Page)profilesPage).set_Title((string)obj2);
         ((BindableObject)profilesPage).SetValue((BindableProperty)Xamarin.Forms.PlatformConfiguration.iOSSpecific.Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension4   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 1];
         objArray2[0] = (object)profilesPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(ProfilesPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(18, 5)));
         object obj4 = ((IMarkupExtension)resourceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider2);
         ((VisualElement)profilesPage).set_BackgroundColor((Color)obj4);
         bindingExtension1.set_Path("NewProfileCommand");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)toolbarItem).SetBinding((BindableProperty)MenuItem.CommandProperty, bindingBase1);
         ((BindableObject)toolbarItem).SetValue((BindableProperty)MenuItem.IconProperty, new FileImageSourceConverter().ConvertFromInvariantString("add.png"));
         translateExtension2.Text = "ToolbarItem_NewProfile_Text";
         TranslateExtension  translateExtension4  = translateExtension2;
         XamlServiceProvider xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 2];
         objArray3[0] = (object)toolbarItem;
         objArray3[1] = (object)profilesPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)MenuItem.TextProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver3.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver3.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(ProfilesPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(158, 13)));
         object obj6 = ((IMarkupExtension)translateExtension4).ProvideValue((IServiceProvider)xamlServiceProvider3);
         ((MenuItem)toolbarItem).set_Text((string)obj6);
         ((ICollection <ToolbarItem>)((Xamarin.Forms.Page)profilesPage).get_ToolbarItems()).Add(toolbarItem);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.HasUnevenRowsProperty, (object)true);
         bindingExtension2.set_Path("Profiles");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ItemsView <Cell> .ItemsSourceProperty, bindingBase2);
         bindingExtension3.set_Mode((BindingMode)1);
         bindingExtension3.set_Path("SelectedItem");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.SelectedItemProperty, bindingBase3);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.SeparatorVisibilityProperty, (object)(SeparatorVisibility)1);
         DataTemplate dataTemplate2 = dataTemplate1;
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         ProfilesPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_31 xamlCdataTemplate31 = new ProfilesPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_31();
         object[] objArray4 = new object[0 + 4];
         objArray4[0] = (object)dataTemplate1;
         objArray4[1] = (object)listView;
         objArray4[2] = (object)grid2;
         objArray4[3] = (object)profilesPage;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate31.parentValues = objArray4;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate31.root = profilesPage;
         // ISSUE: reference to a compiler-generated method
         Func <object> func = new Func <object>(xamlCdataTemplate31.LoadDataTemplate);
         ((IDataTemplate)dataTemplate2).set_LoadTemplate(func);
         ((BindableObject)listView).SetValue((BindableProperty)ItemsView <Cell> .ItemTemplateProperty, (object)dataTemplate1);
         ((ICollection <View>)grid2.get_Children()).Add((View)listView);
         resourceExtension2.set_Key("OverlayColor");
         StaticResourceExtension resourceExtension5   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 3];
         objArray5[0] = (object)grid1;
         objArray5[1] = (object)grid2;
         objArray5[2] = (object)profilesPage;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray5, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver4.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver4.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(ProfilesPage).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(149, 15)));
         object obj8 = ((IMarkupExtension)resourceExtension5).ProvideValue((IServiceProvider)xamlServiceProvider4);
         ((VisualElement)grid1).set_BackgroundColor((Color)obj8);
         bindingExtension4.set_Path("IsLoading");
         BindingBase bindingBase4 = ((IMarkupExtension <BindingBase>)bindingExtension4).ProvideValue((IServiceProvider)null);
         ((BindableObject)grid1).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase4);
         ((BindableObject)circleImage).SetValue((BindableProperty)CircleImage.FillColorProperty, (object)(Color)Color.White);
         resourceExtension3.set_Key("ListItemIconStyle");
         StaticResourceExtension resourceExtension6   = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray6 = new object[0 + 4];
         objArray6[0] = (object)circleImage;
         objArray6[1] = (object)grid1;
         objArray6[2] = (object)grid2;
         objArray6[3] = (object)profilesPage;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray6, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver5.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver5.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver5.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver5.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver5.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver5.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(ProfilesPage).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(150, 56)));
         object obj10 = ((IMarkupExtension)resourceExtension6).ProvideValue((IServiceProvider)xamlServiceProvider5);
         ((NavigableElement)circleImage).set_Style((Style)obj10);
         ((ICollection <View>)grid1.get_Children()).Add((View)circleImage);
         bindingExtension5.set_Path("IsLoading");
         BindingBase bindingBase5 = ((IMarkupExtension <BindingBase>)bindingExtension5).ProvideValue((IServiceProvider)null);
         ((BindableObject)activityIndicator).SetBinding((BindableProperty)ActivityIndicator.IsRunningProperty, bindingBase5);
         ((ICollection <View>)grid1.get_Children()).Add((View)activityIndicator);
         ((ICollection <View>)grid2.get_Children()).Add((View)grid1);
         ((BindableObject)profilesPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid2);
     }
 }
Beispiel #5
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(NotesPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/NotesPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         EmptyView emptyView = new EmptyView();
         StaticResourceExtension resourceExtension2 = new StaticResourceExtension();
         BindingExtension        bindingExtension2  = new BindingExtension();
         BindingExtension        bindingExtension3  = new BindingExtension();
         DataTemplate            dataTemplate1      = new DataTemplate();
         ListView  listView = new ListView((ListViewCachingStrategy)1);
         Grid      grid     = new Grid();
         NotesPage notesPage;
         NameScope nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(notesPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)notesPage, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("Page", (object)notesPage);
         if (((Element)notesPage).get_StyleId() == null)
         {
             ((Element)notesPage).set_StyleId("Page");
         }
         this.Page = (MvxContentPage <NotesViewModel>)notesPage;
         translateExtension1.Text = "Notes_Page_Title";
         TranslateExtension  translateExtension2  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)notesPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Xamarin.Forms.Page.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(NotesPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(15, 5)));
         object obj2 = ((IMarkupExtension)translateExtension2).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((Xamarin.Forms.Page)notesPage).set_Title((string)obj2);
         ((BindableObject)notesPage).SetValue((BindableProperty)Xamarin.Forms.PlatformConfiguration.iOSSpecific.Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension3   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 1];
         objArray2[0] = (object)notesPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(NotesPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(18, 5)));
         object obj4 = ((IMarkupExtension)resourceExtension3).ProvideValue((IServiceProvider)xamlServiceProvider2);
         ((VisualElement)notesPage).set_BackgroundColor((Color)obj4);
         bindingExtension1.set_Path("Items.Count");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)emptyView).SetBinding((BindableProperty)BindableObject.BindingContextProperty, bindingBase1);
         ((ICollection <View>)grid.get_Children()).Add((View)emptyView);
         resourceExtension2.set_Key("ListViewMonthGroupHeaderTemplate");
         StaticResourceExtension resourceExtension4   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 3];
         objArray3[0] = (object)listView;
         objArray3[1] = (object)grid;
         objArray3[2] = (object)notesPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)ListView.GroupHeaderTemplateProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver3.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(NotesPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(27, 13)));
         object obj6 = ((IMarkupExtension)resourceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider3);
         listView.set_GroupHeaderTemplate((DataTemplate)obj6);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.HasUnevenRowsProperty, (object)true);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.IsGroupingEnabledProperty, (object)true);
         bindingExtension2.set_Path("Items");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ItemsView <Cell> .ItemsSourceProperty, bindingBase2);
         bindingExtension3.set_Mode((BindingMode)1);
         bindingExtension3.set_Path("SelectedItem");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.SelectedItemProperty, bindingBase3);
         DataTemplate dataTemplate2 = dataTemplate1;
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         NotesPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_29 xamlCdataTemplate29 = new NotesPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_29();
         object[] objArray4 = new object[0 + 4];
         objArray4[0] = (object)dataTemplate1;
         objArray4[1] = (object)listView;
         objArray4[2] = (object)grid;
         objArray4[3] = (object)notesPage;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate29.parentValues = objArray4;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate29.root = notesPage;
         // ISSUE: reference to a compiler-generated method
         Func <object> func = new Func <object>(xamlCdataTemplate29.LoadDataTemplate);
         ((IDataTemplate)dataTemplate2).set_LoadTemplate(func);
         ((BindableObject)listView).SetValue((BindableProperty)ItemsView <Cell> .ItemTemplateProperty, (object)dataTemplate1);
         ((ICollection <View>)grid.get_Children()).Add((View)listView);
         ((BindableObject)notesPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid);
     }
 }
Beispiel #6
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(NeedUpdatePage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/NeedUpdatePage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         RowDefinition           rowDefinition1      = new RowDefinition();
         RowDefinition           rowDefinition2      = new RowDefinition();
         Image                   image               = new Image();
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         Label                   label               = new Label();
         BindingExtension        bindingExtension    = new BindingExtension();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         TranslateExtension      translateExtension2 = new TranslateExtension();
         Button                  button              = new Button();
         StackLayout             stackLayout         = new StackLayout();
         Frame                   frame               = new Frame();
         Grid           grid = new Grid();
         NeedUpdatePage needUpdatePage;
         NameScope      nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(needUpdatePage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)needUpdatePage, (INameScope)nameScope);
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition1);
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition2);
         ((BindableObject)image).SetValue((BindableProperty)Grid.RowSpanProperty, (object)2);
         ((BindableObject)image).SetValue((BindableProperty)Image.AspectProperty, (object)(Aspect)1);
         ((BindableObject)image).SetValue((BindableProperty)Image.SourceProperty, new ImageSourceConverter().ConvertFromInvariantString("Splash.png"));
         ((ICollection <View>)grid.get_Children()).Add((View)image);
         ((BindableObject)frame).SetValue((BindableProperty)Grid.RowProperty, (object)1);
         ((BindableObject)frame).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.End);
         ((BindableObject)label).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)label).SetValue((BindableProperty)Label.HorizontalTextAlignmentProperty, new TextAlignmentConverter().ConvertFromInvariantString("Center"));
         translateExtension1.Text = "NeedUpdatePage_UpdateInfo_Text";
         TranslateExtension  translateExtension3  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 5];
         objArray1[0] = (object)label;
         objArray1[1] = (object)stackLayout;
         objArray1[2] = (object)frame;
         objArray1[3] = (object)grid;
         objArray1[4] = (object)needUpdatePage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Label.TextProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(NeedUpdatePage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(30, 21)));
         object obj2 = ((IMarkupExtension)translateExtension3).ProvideValue((IServiceProvider)xamlServiceProvider1);
         label.set_Text((string)obj2);
         resourceExtension1.set_Key("DarkTextColor");
         StaticResourceExtension resourceExtension3   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 5];
         objArray2[0] = (object)label;
         objArray2[1] = (object)stackLayout;
         objArray2[2] = (object)frame;
         objArray2[3] = (object)grid;
         objArray2[4] = (object)needUpdatePage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)Label.TextColorProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(NeedUpdatePage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(31, 21)));
         object obj4 = ((IMarkupExtension)resourceExtension3).ProvideValue((IServiceProvider)xamlServiceProvider2);
         label.set_TextColor((Color)obj4);
         ((BindableObject)label).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label);
         ((BindableObject)button).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(12.0));
         bindingExtension.set_Path("UpdateCommand");
         BindingBase bindingBase = ((IMarkupExtension <BindingBase>)bindingExtension).ProvideValue((IServiceProvider)null);
         ((BindableObject)button).SetBinding((BindableProperty)Button.CommandProperty, bindingBase);
         resourceExtension2.set_Key("FormButtonStyle");
         StaticResourceExtension resourceExtension4   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 5];
         objArray3[0] = (object)button;
         objArray3[1] = (object)stackLayout;
         objArray3[2] = (object)frame;
         objArray3[3] = (object)grid;
         objArray3[4] = (object)needUpdatePage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(NeedUpdatePage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(36, 21)));
         object obj6 = ((IMarkupExtension)resourceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider3);
         ((NavigableElement)button).set_Style((Style)obj6);
         translateExtension2.Text = "NeedUpdatePage_Button_Text";
         TranslateExtension  translateExtension4  = translateExtension2;
         XamlServiceProvider xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 5];
         objArray4[0] = (object)button;
         objArray4[1] = (object)stackLayout;
         objArray4[2] = (object)frame;
         objArray4[3] = (object)grid;
         objArray4[4] = (object)needUpdatePage;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray4, (object)Button.TextProperty, (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(NeedUpdatePage).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(37, 21)));
         object obj8 = ((IMarkupExtension)translateExtension4).ProvideValue((IServiceProvider)xamlServiceProvider4);
         button.set_Text((string)obj8);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)button);
         ((BindableObject)frame).SetValue((BindableProperty)ContentView.ContentProperty, (object)stackLayout);
         ((ICollection <View>)grid.get_Children()).Add((View)frame);
         ((BindableObject)needUpdatePage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid);
     }
 }
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(HomeWorkEditPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/HomeWorkEditPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         BindingExtension        bindingExtension2   = new BindingExtension();
         BindableToolbarItem     bindableToolbarItem = new BindableToolbarItem();
         BindingExtension        bindingExtension3   = new BindingExtension();
         Editor           editor = new Editor();
         Grid             grid   = new Grid();
         HomeWorkEditPage homeWorkEditPage;
         NameScope        nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(homeWorkEditPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)homeWorkEditPage, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("UserNameEntry", (object)editor);
         if (((Element)editor).get_StyleId() == null)
         {
             ((Element)editor).set_StyleId("UserNameEntry");
         }
         this.UserNameEntry = editor;
         ((BindableObject)homeWorkEditPage).SetValue((BindableProperty)Page.TitleProperty, (object)"Új Házi Feladat");
         ((BindableObject)homeWorkEditPage).SetValue((BindableProperty)Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension3   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)homeWorkEditPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(HomeWorkEditPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(15, 5)));
         object obj2 = ((IMarkupExtension)resourceExtension3).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((VisualElement)homeWorkEditPage).set_BackgroundColor((Color)obj2);
         bindingExtension1.set_Path("SaveHomeWorkCommand");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)bindableToolbarItem).SetBinding((BindableProperty)MenuItem.CommandProperty, bindingBase1);
         ((BindableObject)bindableToolbarItem).SetValue((BindableProperty)MenuItem.IconProperty, new FileImageSourceConverter().ConvertFromInvariantString("save_icon.png"));
         resourceExtension2.set_Key("NegateBooleanConverter");
         StaticResourceExtension resourceExtension4   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 3];
         objArray2[0] = (object)bindingExtension2;
         objArray2[1] = (object)bindableToolbarItem;
         objArray2[2] = (object)homeWorkEditPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)typeof(BindingExtension).GetRuntimeProperty("Converter"), (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(HomeWorkEditPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(32, 13)));
         object obj4 = ((IMarkupExtension)resourceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider2);
         bindingExtension2.set_Converter((IValueConverter)obj4);
         bindingExtension2.set_Path("ActiveProfile.IsTutelary");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)bindableToolbarItem).SetBinding(BindableToolbarItem.IsVisibleProperty, bindingBase2);
         ((ICollection <ToolbarItem>)((Page)homeWorkEditPage).get_ToolbarItems()).Add((ToolbarItem)bindableToolbarItem);
         ((BindableObject)editor).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(0.0, 6.0));
         ((BindableObject)editor).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         bindingExtension3.set_Mode((BindingMode)1);
         bindingExtension3.set_Path("Text");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)editor).SetBinding((BindableProperty)Editor.TextProperty, bindingBase3);
         ((BindableObject)editor).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         ((ICollection <View>)grid.get_Children()).Add((View)editor);
         ((BindableObject)homeWorkEditPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid);
     }
 }
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(RootContentPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/RootContentPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         BindingExtension        bindingExtension2   = new BindingExtension();
         BindableToolbarItem     bindableToolbarItem = new BindableToolbarItem();
         RowDefinition           rowDefinition1      = new RowDefinition();
         RowDefinition           rowDefinition2      = new RowDefinition();
         BindingExtension        bindingExtension3   = new BindingExtension();
         BindingExtension        bindingExtension4   = new BindingExtension();
         EmptyView emptyView = new EmptyView();
         StaticResourceExtension resourceExtension2 = new StaticResourceExtension();
         BindingExtension        bindingExtension5  = new BindingExtension();
         BindingExtension        bindingExtension6  = new BindingExtension();
         BindingExtension        bindingExtension7  = new BindingExtension();
         BindingExtension        bindingExtension8  = new BindingExtension();
         DataTemplate            dataTemplate1      = new DataTemplate();
         ListView             listView           = new ListView((ListViewCachingStrategy)1);
         BindingExtension     bindingExtension9  = new BindingExtension();
         BindingExtension     bindingExtension10 = new BindingExtension();
         BindingExtension     bindingExtension11 = new BindingExtension();
         TapGestureRecognizer gestureRecognizer  = new TapGestureRecognizer();
         CachedImage          cachedImage        = new CachedImage();
         Grid            grid = new Grid();
         RootContentPage rootContentPage;
         NameScope       nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(rootContentPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)rootContentPage, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("Page", (object)rootContentPage);
         if (((Element)rootContentPage).get_StyleId() == null)
         {
             ((Element)rootContentPage).set_StyleId("Page");
         }
         ((INameScope)nameScope).RegisterName("EmptyView", (object)emptyView);
         if (((Element)emptyView).get_StyleId() == null)
         {
             ((Element)emptyView).set_StyleId("EmptyView");
         }
         this.Page                = (MvxContentPage <RootContentViewModel>)rootContentPage;
         this.EmptyView           = emptyView;
         translateExtension1.Text = "RootContentPage_Title";
         TranslateExtension  translateExtension2  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)rootContentPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Xamarin.Forms.Page.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver1.Add("telerikChart", "clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(RootContentPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(17, 5)));
         object obj2 = ((IMarkupExtension)translateExtension2).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((Xamarin.Forms.Page)rootContentPage).set_Title((string)obj2);
         ((BindableObject)rootContentPage).SetValue((BindableProperty)Xamarin.Forms.PlatformConfiguration.iOSSpecific.Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension3   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 1];
         objArray2[0] = (object)rootContentPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver2.Add("telerikChart", "clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(RootContentPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(20, 5)));
         object obj4 = ((IMarkupExtension)resourceExtension3).ProvideValue((IServiceProvider)xamlServiceProvider2);
         ((VisualElement)rootContentPage).set_BackgroundColor((Color)obj4);
         bindingExtension1.set_Path("ShowInformationPageCommand");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)bindableToolbarItem).SetBinding((BindableProperty)MenuItem.CommandProperty, bindingBase1);
         ((BindableObject)bindableToolbarItem).SetValue((BindableProperty)MenuItem.IconImageSourceProperty, new ImageSourceConverter().ConvertFromInvariantString("info_icon_white.png"));
         bindingExtension2.set_Path("HasAnyInformationToShow");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)bindableToolbarItem).SetBinding(BindableToolbarItem.IsVisibleProperty, bindingBase2);
         ((ICollection <ToolbarItem>)((Xamarin.Forms.Page)rootContentPage).get_ToolbarItems()).Add((ToolbarItem)bindableToolbarItem);
         ((BindableObject)rowDefinition1).SetValue((BindableProperty)RowDefinition.HeightProperty, new GridLengthTypeConverter().ConvertFromInvariantString("*"));
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition1);
         ((BindableObject)rowDefinition2).SetValue((BindableProperty)RowDefinition.HeightProperty, new GridLengthTypeConverter().ConvertFromInvariantString("Auto"));
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition2);
         bindingExtension3.set_Path("EmptyViewTitle");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)emptyView).SetBinding(EmptyView.TitleProperty, bindingBase3);
         bindingExtension4.set_Path("ListItems.Count");
         BindingBase bindingBase4 = ((IMarkupExtension <BindingBase>)bindingExtension4).ProvideValue((IServiceProvider)null);
         ((BindableObject)emptyView).SetBinding((BindableProperty)BindableObject.BindingContextProperty, bindingBase4);
         ((BindableObject)emptyView).SetValue(EmptyView.IsSubtitleVisibleProperty, (object)false);
         ((ICollection <View>)grid.get_Children()).Add((View)emptyView);
         ((BindableObject)listView).SetValue((BindableProperty)Grid.RowProperty, (object)0);
         ((BindableObject)listView).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(3.0, 6.0, 3.0, 3.0));
         resourceExtension2.set_Key("ListViewGroupHeaderTemplate");
         StaticResourceExtension resourceExtension4   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 3];
         objArray3[0] = (object)listView;
         objArray3[1] = (object)grid;
         objArray3[2] = (object)rootContentPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)ListView.GroupHeaderTemplateProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver3.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver3.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver3.Add("telerikChart", "clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(RootContentPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(45, 13)));
         object obj6 = ((IMarkupExtension)resourceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider3);
         listView.set_GroupHeaderTemplate((DataTemplate)obj6);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.HasUnevenRowsProperty, (object)true);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.IsGroupingEnabledProperty, (object)true);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.IsPullToRefreshEnabledProperty, (object)true);
         bindingExtension5.set_Path("IsLoading");
         BindingBase bindingBase5 = ((IMarkupExtension <BindingBase>)bindingExtension5).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.IsRefreshingProperty, bindingBase5);
         bindingExtension6.set_Path("ListItems");
         BindingBase bindingBase6 = ((IMarkupExtension <BindingBase>)bindingExtension6).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ItemsView <Cell> .ItemsSourceProperty, bindingBase6);
         bindingExtension7.set_Path("RefreshCommand");
         BindingBase bindingBase7 = ((IMarkupExtension <BindingBase>)bindingExtension7).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.RefreshCommandProperty, bindingBase7);
         bindingExtension8.set_Mode((BindingMode)1);
         bindingExtension8.set_Path("SelectedItem");
         BindingBase bindingBase8 = ((IMarkupExtension <BindingBase>)bindingExtension8).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.SelectedItemProperty, bindingBase8);
         DataTemplate dataTemplate2 = dataTemplate1;
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         RootContentPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_32 xamlCdataTemplate32 = new RootContentPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_32();
         object[] objArray4 = new object[0 + 4];
         objArray4[0] = (object)dataTemplate1;
         objArray4[1] = (object)listView;
         objArray4[2] = (object)grid;
         objArray4[3] = (object)rootContentPage;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate32.parentValues = objArray4;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate32.root = rootContentPage;
         // ISSUE: reference to a compiler-generated method
         Func <object> func = new Func <object>(xamlCdataTemplate32.LoadDataTemplate);
         ((IDataTemplate)dataTemplate2).set_LoadTemplate(func);
         ((BindableObject)listView).SetValue((BindableProperty)ItemsView <Cell> .ItemTemplateProperty, (object)dataTemplate1);
         ((ICollection <View>)grid.get_Children()).Add((View)listView);
         ((BindableObject)cachedImage).SetValue((BindableProperty)Grid.RowProperty, (object)1);
         ((BindableObject)cachedImage).SetValue((BindableProperty)VisualElement.HeightRequestProperty, (object)50.0);
         ((BindableObject)cachedImage).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         bindingExtension9.set_Path("ActiveProfile.Institute.HasAdvertisingUrl");
         BindingBase bindingBase9 = ((IMarkupExtension <BindingBase>)bindingExtension9).ProvideValue((IServiceProvider)null);
         ((BindableObject)cachedImage).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase9);
         bindingExtension10.set_Path("ActiveProfile.Institute.InformationImageUrl");
         BindingBase bindingBase10 = ((IMarkupExtension <BindingBase>)bindingExtension10).ProvideValue((IServiceProvider)null);
         ((BindableObject)cachedImage).SetBinding((BindableProperty)CachedImage.SourceProperty, bindingBase10);
         ((BindableObject)cachedImage).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         bindingExtension11.set_Path("NavigateToInformationUrlCommand");
         BindingBase bindingBase11 = ((IMarkupExtension <BindingBase>)bindingExtension11).ProvideValue((IServiceProvider)null);
         ((BindableObject)gestureRecognizer).SetBinding((BindableProperty)TapGestureRecognizer.CommandProperty, bindingBase11);
         ((ICollection <IGestureRecognizer>)((View)cachedImage).get_GestureRecognizers()).Add((IGestureRecognizer)gestureRecognizer);
         ((ICollection <View>)grid.get_Children()).Add((View)cachedImage);
         ((BindableObject)rootContentPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid);
     }
 }
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(DatabaseErrorPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/DatabaseErrorPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         RowDefinition           rowDefinition1      = new RowDefinition();
         RowDefinition           rowDefinition2      = new RowDefinition();
         Image                   image               = new Image();
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         Label                   label1              = new Label();
         TranslateExtension      translateExtension2 = new TranslateExtension();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         Label                   label2              = new Label();
         BindingExtension        bindingExtension1   = new BindingExtension();
         StaticResourceExtension resourceExtension3  = new StaticResourceExtension();
         TranslateExtension      translateExtension3 = new TranslateExtension();
         Button                  button              = new Button();
         StackLayout             stackLayout         = new StackLayout();
         Frame                   frame               = new Frame();
         StaticResourceExtension resourceExtension4  = new StaticResourceExtension();
         BindingExtension        bindingExtension2   = new BindingExtension();
         StaticResourceExtension resourceExtension5  = new StaticResourceExtension();
         CircleImage             circleImage         = new CircleImage();
         BindingExtension        bindingExtension3   = new BindingExtension();
         ActivityIndicator       activityIndicator   = new ActivityIndicator();
         Grid grid1 = new Grid();
         Grid grid2 = new Grid();
         DatabaseErrorPage databaseErrorPage;
         NameScope         nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(databaseErrorPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)databaseErrorPage, (INameScope)nameScope);
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid2).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition1);
         ((DefinitionCollection <RowDefinition>)((BindableObject)grid2).GetValue((BindableProperty)Grid.RowDefinitionsProperty)).Add(rowDefinition2);
         ((BindableObject)image).SetValue((BindableProperty)Grid.RowSpanProperty, (object)2);
         ((BindableObject)image).SetValue((BindableProperty)Image.AspectProperty, (object)(Aspect)1);
         ((BindableObject)image).SetValue((BindableProperty)Image.SourceProperty, new ImageSourceConverter().ConvertFromInvariantString("Splash.png"));
         ((ICollection <View>)grid2.get_Children()).Add((View)image);
         ((BindableObject)frame).SetValue((BindableProperty)Grid.RowProperty, (object)1);
         ((BindableObject)frame).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.End);
         Label label3 = label1;
         // ISSUE: variable of the null type
         __Null              fontSizeProperty     = Label.FontSizeProperty;
         FontSizeConverter   fontSizeConverter    = new FontSizeConverter();
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 5];
         objArray1[0] = (object)label1;
         objArray1[1] = (object)stackLayout;
         objArray1[2] = (object)frame;
         objArray1[3] = (object)grid2;
         objArray1[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Label.FontSizeProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(29, 21)));
         object obj2 = ((IExtendedTypeConverter)fontSizeConverter).ConvertFromInvariantString("Medium", (IServiceProvider)xamlServiceProvider1);
         ((BindableObject)label3).SetValue((BindableProperty)fontSizeProperty, obj2);
         ((BindableObject)label1).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)label1).SetValue((BindableProperty)Label.HorizontalTextAlignmentProperty, new TextAlignmentConverter().ConvertFromInvariantString("Center"));
         translateExtension1.Text = "DatabaseError_Title";
         TranslateExtension  translateExtension4  = translateExtension1;
         XamlServiceProvider xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 5];
         objArray2[0] = (object)label1;
         objArray2[1] = (object)stackLayout;
         objArray2[2] = (object)frame;
         objArray2[3] = (object)grid2;
         objArray2[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)Label.TextProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(32, 21)));
         object obj4 = ((IMarkupExtension)translateExtension4).ProvideValue((IServiceProvider)xamlServiceProvider2);
         label1.set_Text((string)obj4);
         resourceExtension1.set_Key("DarkTextColor");
         StaticResourceExtension resourceExtension6   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 5];
         objArray3[0] = (object)label1;
         objArray3[1] = (object)stackLayout;
         objArray3[2] = (object)frame;
         objArray3[3] = (object)grid2;
         objArray3[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)Label.TextColorProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(33, 21)));
         object obj6 = ((IMarkupExtension)resourceExtension6).ProvideValue((IServiceProvider)xamlServiceProvider3);
         label1.set_TextColor((Color)obj6);
         ((BindableObject)label1).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label1);
         ((BindableObject)label2).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)label2).SetValue((BindableProperty)Label.HorizontalTextAlignmentProperty, new TextAlignmentConverter().ConvertFromInvariantString("Center"));
         translateExtension2.Text = "DatabaseError_Description";
         TranslateExtension  translateExtension5  = translateExtension2;
         XamlServiceProvider xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 5];
         objArray4[0] = (object)label2;
         objArray4[1] = (object)stackLayout;
         objArray4[2] = (object)frame;
         objArray4[3] = (object)grid2;
         objArray4[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray4, (object)Label.TextProperty, (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(38, 21)));
         object obj8 = ((IMarkupExtension)translateExtension5).ProvideValue((IServiceProvider)xamlServiceProvider4);
         label2.set_Text((string)obj8);
         resourceExtension2.set_Key("DarkTextColor");
         StaticResourceExtension resourceExtension7   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 5];
         objArray5[0] = (object)label2;
         objArray5[1] = (object)stackLayout;
         objArray5[2] = (object)frame;
         objArray5[3] = (object)grid2;
         objArray5[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray5, (object)Label.TextColorProperty, (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver5.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver5.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver5.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(39, 21)));
         object obj10 = ((IMarkupExtension)resourceExtension7).ProvideValue((IServiceProvider)xamlServiceProvider5);
         label2.set_TextColor((Color)obj10);
         ((BindableObject)label2).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label2);
         ((BindableObject)button).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(12.0));
         bindingExtension1.set_Path("OkCommand");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)button).SetBinding((BindableProperty)Button.CommandProperty, bindingBase1);
         ((BindableObject)button).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         resourceExtension3.set_Key("FormButtonStyle");
         StaticResourceExtension resourceExtension8   = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider6 = new XamlServiceProvider();
         Type     type11    = typeof(IProvideValueTarget);
         object[] objArray6 = new object[0 + 5];
         objArray6[0] = (object)button;
         objArray6[1] = (object)stackLayout;
         objArray6[2] = (object)frame;
         objArray6[3] = (object)grid2;
         objArray6[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider6;
         object obj11 = (object)(valueTargetProvider6 = new SimpleValueTargetProvider(objArray6, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider6.Add(type11, (object)valueTargetProvider6);
         xamlServiceProvider6.Add(typeof(IReferenceProvider), obj11);
         Type type12 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver6 = new XmlNamespaceResolver();
         namespaceResolver6.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver6.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver6.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver6.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver6.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver6.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver6.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver6.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver6 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver6, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider6.Add(type12, (object)xamlTypeResolver6);
         xamlServiceProvider6.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(45, 21)));
         object obj12 = ((IMarkupExtension)resourceExtension8).ProvideValue((IServiceProvider)xamlServiceProvider6);
         ((NavigableElement)button).set_Style((Style)obj12);
         translateExtension3.Text = "DatabaseError_Ok";
         TranslateExtension  translateExtension6  = translateExtension3;
         XamlServiceProvider xamlServiceProvider7 = new XamlServiceProvider();
         Type     type13    = typeof(IProvideValueTarget);
         object[] objArray7 = new object[0 + 5];
         objArray7[0] = (object)button;
         objArray7[1] = (object)stackLayout;
         objArray7[2] = (object)frame;
         objArray7[3] = (object)grid2;
         objArray7[4] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider7;
         object obj13 = (object)(valueTargetProvider7 = new SimpleValueTargetProvider(objArray7, (object)Button.TextProperty, (INameScope)nameScope));
         xamlServiceProvider7.Add(type13, (object)valueTargetProvider7);
         xamlServiceProvider7.Add(typeof(IReferenceProvider), obj13);
         Type type14 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver7 = new XmlNamespaceResolver();
         namespaceResolver7.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver7.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver7.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver7.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver7.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver7.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver7.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver7.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver7 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver7, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider7.Add(type14, (object)xamlTypeResolver7);
         xamlServiceProvider7.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(46, 21)));
         object obj14 = ((IMarkupExtension)translateExtension6).ProvideValue((IServiceProvider)xamlServiceProvider7);
         button.set_Text((string)obj14);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)button);
         ((BindableObject)frame).SetValue((BindableProperty)ContentView.ContentProperty, (object)stackLayout);
         ((ICollection <View>)grid2.get_Children()).Add((View)frame);
         ((BindableObject)grid1).SetValue((BindableProperty)Grid.RowProperty, (object)0);
         ((BindableObject)grid1).SetValue((BindableProperty)Grid.RowSpanProperty, (object)2);
         resourceExtension4.set_Key("OverlayColor");
         StaticResourceExtension resourceExtension9   = resourceExtension4;
         XamlServiceProvider     xamlServiceProvider8 = new XamlServiceProvider();
         Type     type15    = typeof(IProvideValueTarget);
         object[] objArray8 = new object[0 + 3];
         objArray8[0] = (object)grid1;
         objArray8[1] = (object)grid2;
         objArray8[2] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider8;
         object obj15 = (object)(valueTargetProvider8 = new SimpleValueTargetProvider(objArray8, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider8.Add(type15, (object)valueTargetProvider8);
         xamlServiceProvider8.Add(typeof(IReferenceProvider), obj15);
         Type type16 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver8 = new XmlNamespaceResolver();
         namespaceResolver8.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver8.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver8.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver8.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver8.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver8.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver8.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver8.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver8 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver8, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider8.Add(type16, (object)xamlTypeResolver8);
         xamlServiceProvider8.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(52, 13)));
         object obj16 = ((IMarkupExtension)resourceExtension9).ProvideValue((IServiceProvider)xamlServiceProvider8);
         ((VisualElement)grid1).set_BackgroundColor((Color)obj16);
         bindingExtension2.set_Path("IsLoading");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)grid1).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase2);
         ((BindableObject)circleImage).SetValue((BindableProperty)CircleImage.FillColorProperty, (object)(Color)Color.White);
         resourceExtension5.set_Key("ListItemIconStyle");
         StaticResourceExtension resourceExtension10  = resourceExtension5;
         XamlServiceProvider     xamlServiceProvider9 = new XamlServiceProvider();
         Type     type17    = typeof(IProvideValueTarget);
         object[] objArray9 = new object[0 + 4];
         objArray9[0] = (object)circleImage;
         objArray9[1] = (object)grid1;
         objArray9[2] = (object)grid2;
         objArray9[3] = (object)databaseErrorPage;
         SimpleValueTargetProvider valueTargetProvider9;
         object obj17 = (object)(valueTargetProvider9 = new SimpleValueTargetProvider(objArray9, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider9.Add(type17, (object)valueTargetProvider9);
         xamlServiceProvider9.Add(typeof(IReferenceProvider), obj17);
         Type type18 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver9 = new XmlNamespaceResolver();
         namespaceResolver9.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver9.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver9.Add("abstractions", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver9.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver9.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver9.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver9.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver9.Add("views", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         XamlTypeResolver xamlTypeResolver9 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver9, typeof(DatabaseErrorPage).GetTypeInfo().Assembly);
         xamlServiceProvider9.Add(type18, (object)xamlTypeResolver9);
         xamlServiceProvider9.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(54, 57)));
         object obj18 = ((IMarkupExtension)resourceExtension10).ProvideValue((IServiceProvider)xamlServiceProvider9);
         ((NavigableElement)circleImage).set_Style((Style)obj18);
         ((ICollection <View>)grid1.get_Children()).Add((View)circleImage);
         bindingExtension3.set_Path("IsLoading");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)activityIndicator).SetBinding((BindableProperty)ActivityIndicator.IsRunningProperty, bindingBase3);
         ((ICollection <View>)grid1.get_Children()).Add((View)activityIndicator);
         ((ICollection <View>)grid2.get_Children()).Add((View)grid1);
         ((BindableObject)databaseErrorPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid2);
     }
 }
Beispiel #10
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(ErrorView).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Controls/ErrorView.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         CachedImage             cachedImage         = new CachedImage();
         ReferenceExtension      referenceExtension1 = new ReferenceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         Label label1 = new Label();
         ReferenceExtension      referenceExtension2 = new ReferenceExtension();
         BindingExtension        bindingExtension2   = new BindingExtension();
         StaticResourceExtension resourceExtension3  = new StaticResourceExtension();
         Label       label2      = new Label();
         StackLayout stackLayout = new StackLayout();
         Frame       frame       = new Frame();
         ErrorView   errorView;
         NameScope   nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(errorView = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)errorView, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("View", (object)errorView);
         if (((Element)errorView).get_StyleId() == null)
         {
             ((Element)errorView).set_StyleId("View");
         }
         this.View = (ContentView)errorView;
         resourceExtension1.set_Key("AccentContrastColor");
         StaticResourceExtension resourceExtension4   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 2];
         objArray1[0] = (object)frame;
         objArray1[1] = (object)errorView;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(ErrorView).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(8, 16)));
         object obj2 = ((IMarkupExtension)resourceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((VisualElement)frame).set_BackgroundColor((Color)obj2);
         ((BindableObject)frame).SetValue((BindableProperty)Xamarin.Forms.View.MarginProperty, (object)new Thickness(12.0));
         ((BindableObject)frame).SetValue((BindableProperty)Frame.HasShadowProperty, (object)false);
         ((BindableObject)frame).SetValue((BindableProperty)Xamarin.Forms.View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         ((BindableObject)stackLayout).SetValue((BindableProperty)Xamarin.Forms.View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)stackLayout).SetValue((BindableProperty)Xamarin.Forms.View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)cachedImage).SetValue((BindableProperty)CachedImage.DownsampleToViewSizeProperty, (object)true);
         ((BindableObject)cachedImage).SetValue((BindableProperty)CachedImage.SourceProperty, new ImageSourceConverter().ConvertFromInvariantString("resource://Ekreta.Mobile.Core.Images.KretaMan.png?assembly=Ekreta.Mobile.Core"));
         ((BindableObject)cachedImage).SetValue((BindableProperty)Xamarin.Forms.View.MarginProperty, (object)new Thickness(12.0, 32.0));
         ((BindableObject)cachedImage).SetValue((BindableProperty)VisualElement.WidthRequestProperty, (object)320.0);
         ((BindableObject)cachedImage).SetValue((BindableProperty)VisualElement.HeightRequestProperty, (object)240.0);
         ((ICollection <Xamarin.Forms.View>)((Layout <Xamarin.Forms.View>)stackLayout).get_Children()).Add((Xamarin.Forms.View)cachedImage);
         referenceExtension1.set_Name("View");
         ReferenceExtension  referenceExtension3  = referenceExtension1;
         XamlServiceProvider xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 5];
         objArray2[0] = (object)bindingExtension1;
         objArray2[1] = (object)label1;
         objArray2[2] = (object)stackLayout;
         objArray2[3] = (object)frame;
         objArray2[4] = (object)errorView;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)typeof(BindingExtension).GetRuntimeProperty("Source"), (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(ErrorView).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(11, 24)));
         object obj4 = ((IMarkupExtension)referenceExtension3).ProvideValue((IServiceProvider)xamlServiceProvider2);
         bindingExtension1.set_Source(obj4);
         bindingExtension1.set_Path("Title");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)label1).SetBinding((BindableProperty)Label.TextProperty, bindingBase1);
         resourceExtension2.set_Key("ListItemTitleStyle");
         StaticResourceExtension resourceExtension5   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 4];
         objArray3[0] = (object)label1;
         objArray3[1] = (object)stackLayout;
         objArray3[2] = (object)frame;
         objArray3[3] = (object)errorView;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(ErrorView).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(11, 74)));
         object obj6 = ((IMarkupExtension)resourceExtension5).ProvideValue((IServiceProvider)xamlServiceProvider3);
         ((NavigableElement)label1).set_Style((Style)obj6);
         ((BindableObject)label1).SetValue((BindableProperty)Xamarin.Forms.View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)label1).SetValue((BindableProperty)Label.LineBreakModeProperty, (object)(LineBreakMode)1);
         ((BindableObject)label1).SetValue((BindableProperty)Label.XAlignProperty, new TextAlignmentConverter().ConvertFromInvariantString("Center"));
         ((ICollection <Xamarin.Forms.View>)((Layout <Xamarin.Forms.View>)stackLayout).get_Children()).Add((Xamarin.Forms.View)label1);
         referenceExtension2.set_Name("View");
         ReferenceExtension  referenceExtension4  = referenceExtension2;
         XamlServiceProvider xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 5];
         objArray4[0] = (object)bindingExtension2;
         objArray4[1] = (object)label2;
         objArray4[2] = (object)stackLayout;
         objArray4[3] = (object)frame;
         objArray4[4] = (object)errorView;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray4, (object)typeof(BindingExtension).GetRuntimeProperty("Source"), (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(ErrorView).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(12, 24)));
         object obj8 = ((IMarkupExtension)referenceExtension4).ProvideValue((IServiceProvider)xamlServiceProvider4);
         bindingExtension2.set_Source(obj8);
         bindingExtension2.set_Path("Subtitle");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)label2).SetBinding((BindableProperty)Label.TextProperty, bindingBase2);
         ((BindableObject)label2).SetValue((BindableProperty)Label.LineBreakModeProperty, (object)(LineBreakMode)1);
         ((BindableObject)label2).SetValue((BindableProperty)Label.XAlignProperty, new TextAlignmentConverter().ConvertFromInvariantString("Center"));
         ((BindableObject)label2).SetValue((BindableProperty)Xamarin.Forms.View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         resourceExtension3.set_Key("ListItemDescriptionStyle");
         StaticResourceExtension resourceExtension6   = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 4];
         objArray5[0] = (object)label2;
         objArray5[1] = (object)stackLayout;
         objArray5[2] = (object)frame;
         objArray5[3] = (object)errorView;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray5, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(ErrorView).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(12, 145)));
         object obj10 = ((IMarkupExtension)resourceExtension6).ProvideValue((IServiceProvider)xamlServiceProvider5);
         ((NavigableElement)label2).set_Style((Style)obj10);
         ((ICollection <Xamarin.Forms.View>)((Layout <Xamarin.Forms.View>)stackLayout).get_Children()).Add((Xamarin.Forms.View)label2);
         ((BindableObject)frame).SetValue((BindableProperty)ContentView.ContentProperty, (object)stackLayout);
         ((BindableObject)errorView).SetValue((BindableProperty)ContentView.ContentProperty, (object)frame);
     }
 }
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(EventsPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/EventsPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         TranslateExtension      translateExtension1 = new TranslateExtension();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         BindingExtension        bindingExtension1   = new BindingExtension();
         TranslateExtension      translateExtension2 = new TranslateExtension();
         Setter                  setter1             = new Setter();
         DataTrigger             dataTrigger1        = new DataTrigger(typeof(MvxContentPage));
         BindingExtension        bindingExtension2   = new BindingExtension();
         TranslateExtension      translateExtension3 = new TranslateExtension();
         Setter                  setter2             = new Setter();
         DataTrigger             dataTrigger2        = new DataTrigger(typeof(MvxContentPage));
         BindingExtension        bindingExtension3   = new BindingExtension();
         TranslateExtension      translateExtension4 = new TranslateExtension();
         Setter                  setter3             = new Setter();
         DataTrigger             dataTrigger3        = new DataTrigger(typeof(MvxContentPage));
         BindingExtension        bindingExtension4   = new BindingExtension();
         EmptyView               emptyView           = new EmptyView();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         BindingExtension        bindingExtension5   = new BindingExtension();
         BindingExtension        bindingExtension6   = new BindingExtension();
         DataTemplate            dataTemplate1       = new DataTemplate();
         ListView                listView            = new ListView((ListViewCachingStrategy)1);
         StaticResourceExtension resourceExtension3  = new StaticResourceExtension();
         BindingExtension        bindingExtension7   = new BindingExtension();
         StaticResourceExtension resourceExtension4  = new StaticResourceExtension();
         CircleImage             circleImage         = new CircleImage();
         BindingExtension        bindingExtension8   = new BindingExtension();
         BindingExtension        bindingExtension9   = new BindingExtension();
         ActivityIndicator       activityIndicator   = new ActivityIndicator();
         Grid       grid1 = new Grid();
         Grid       grid2 = new Grid();
         EventsPage eventsPage;
         NameScope  nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(eventsPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)eventsPage, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("Page", (object)eventsPage);
         if (((Element)eventsPage).get_StyleId() == null)
         {
             ((Element)eventsPage).set_StyleId("Page");
         }
         this.Page = (MvxContentPage <EventsViewModel>)eventsPage;
         translateExtension1.Text = "Events_Page_Title";
         TranslateExtension  translateExtension5  = translateExtension1;
         XamlServiceProvider xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)Xamarin.Forms.Page.TitleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(16, 5)));
         object obj2 = ((IMarkupExtension)translateExtension5).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((Xamarin.Forms.Page)eventsPage).set_Title((string)obj2);
         ((BindableObject)eventsPage).SetValue((BindableProperty)Xamarin.Forms.PlatformConfiguration.iOSSpecific.Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension5   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 1];
         objArray2[0] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(19, 5)));
         object obj4 = ((IMarkupExtension)resourceExtension5).ProvideValue((IServiceProvider)xamlServiceProvider2);
         ((VisualElement)eventsPage).set_BackgroundColor((Color)obj4);
         bindingExtension1.set_Path("HasInternetConnection");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         dataTrigger1.set_Binding(bindingBase1);
         dataTrigger1.set_Value((object)"True");
         setter1.set_Property((BindableProperty)Xamarin.Forms.Page.TitleProperty);
         translateExtension2.Text = "Events_Page_Title";
         TranslateExtension  translateExtension6  = translateExtension2;
         XamlServiceProvider xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 3];
         objArray3[0] = (object)setter1;
         objArray3[1] = (object)dataTrigger1;
         objArray3[2] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)typeof(Setter).GetRuntimeProperty("Value"), (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver3.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver3.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(29, 38)));
         object obj6 = ((IMarkupExtension)translateExtension6).ProvideValue((IServiceProvider)xamlServiceProvider3);
         setter1.set_Value(obj6);
         ((ICollection <Setter>)dataTrigger1.get_Setters()).Add(setter1);
         ((ICollection <TriggerBase>)((BindableObject)eventsPage).GetValue((BindableProperty)VisualElement.TriggersProperty)).Add((TriggerBase)dataTrigger1);
         bindingExtension2.set_Path("HasInternetConnection");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         dataTrigger2.set_Binding(bindingBase2);
         dataTrigger2.set_Value((object)"False");
         setter2.set_Property((BindableProperty)Xamarin.Forms.Page.TitleProperty);
         translateExtension3.Text = "Events_Page_Offline_Title";
         TranslateExtension  translateExtension7  = translateExtension3;
         XamlServiceProvider xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 3];
         objArray4[0] = (object)setter2;
         objArray4[1] = (object)dataTrigger2;
         objArray4[2] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray4, (object)typeof(Setter).GetRuntimeProperty("Value"), (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver4.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver4.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(35, 38)));
         object obj8 = ((IMarkupExtension)translateExtension7).ProvideValue((IServiceProvider)xamlServiceProvider4);
         setter2.set_Value(obj8);
         ((ICollection <Setter>)dataTrigger2.get_Setters()).Add(setter2);
         ((ICollection <TriggerBase>)((BindableObject)eventsPage).GetValue((BindableProperty)VisualElement.TriggersProperty)).Add((TriggerBase)dataTrigger2);
         bindingExtension3.set_Path("IsOffline");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         dataTrigger3.set_Binding(bindingBase3);
         dataTrigger3.set_Value((object)"True");
         setter3.set_Property((BindableProperty)Xamarin.Forms.Page.TitleProperty);
         translateExtension4.Text = "Events_Page_Offline_Title";
         TranslateExtension  translateExtension8  = translateExtension4;
         XamlServiceProvider xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 3];
         objArray5[0] = (object)setter3;
         objArray5[1] = (object)dataTrigger3;
         objArray5[2] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray5, (object)typeof(Setter).GetRuntimeProperty("Value"), (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver5.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver5.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver5.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver5.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver5.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver5.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(41, 38)));
         object obj10 = ((IMarkupExtension)translateExtension8).ProvideValue((IServiceProvider)xamlServiceProvider5);
         setter3.set_Value(obj10);
         ((ICollection <Setter>)dataTrigger3.get_Setters()).Add(setter3);
         ((ICollection <TriggerBase>)((BindableObject)eventsPage).GetValue((BindableProperty)VisualElement.TriggersProperty)).Add((TriggerBase)dataTrigger3);
         bindingExtension4.set_Path("Events.Count");
         BindingBase bindingBase4 = ((IMarkupExtension <BindingBase>)bindingExtension4).ProvideValue((IServiceProvider)null);
         ((BindableObject)emptyView).SetBinding((BindableProperty)BindableObject.BindingContextProperty, bindingBase4);
         ((ICollection <View>)grid2.get_Children()).Add((View)emptyView);
         resourceExtension2.set_Key("ListViewGroupHeaderTemplate");
         StaticResourceExtension resourceExtension6   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider6 = new XamlServiceProvider();
         Type     type11    = typeof(IProvideValueTarget);
         object[] objArray6 = new object[0 + 3];
         objArray6[0] = (object)listView;
         objArray6[1] = (object)grid2;
         objArray6[2] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider6;
         object obj11 = (object)(valueTargetProvider6 = new SimpleValueTargetProvider(objArray6, (object)ListView.GroupHeaderTemplateProperty, (INameScope)nameScope));
         xamlServiceProvider6.Add(type11, (object)valueTargetProvider6);
         xamlServiceProvider6.Add(typeof(IReferenceProvider), obj11);
         Type type12 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver6 = new XmlNamespaceResolver();
         namespaceResolver6.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver6.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver6.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver6.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver6.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver6.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver6.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver6.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver6.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver6.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver6.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver6 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver6, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider6.Add(type12, (object)xamlTypeResolver6);
         xamlServiceProvider6.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(48, 13)));
         object obj12 = ((IMarkupExtension)resourceExtension6).ProvideValue((IServiceProvider)xamlServiceProvider6);
         listView.set_GroupHeaderTemplate((DataTemplate)obj12);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.HasUnevenRowsProperty, (object)true);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.IsGroupingEnabledProperty, (object)true);
         bindingExtension5.set_Path("Events");
         BindingBase bindingBase5 = ((IMarkupExtension <BindingBase>)bindingExtension5).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ItemsView <Cell> .ItemsSourceProperty, bindingBase5);
         bindingExtension6.set_Mode((BindingMode)1);
         bindingExtension6.set_Path("SelectedItem");
         BindingBase bindingBase6 = ((IMarkupExtension <BindingBase>)bindingExtension6).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.SelectedItemProperty, bindingBase6);
         DataTemplate dataTemplate2 = dataTemplate1;
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         EventsPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_16 xamlCdataTemplate16 = new EventsPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_16();
         object[] objArray7 = new object[0 + 4];
         objArray7[0] = (object)dataTemplate1;
         objArray7[1] = (object)listView;
         objArray7[2] = (object)grid2;
         objArray7[3] = (object)eventsPage;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate16.parentValues = objArray7;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate16.root = eventsPage;
         // ISSUE: reference to a compiler-generated method
         Func <object> func = new Func <object>(xamlCdataTemplate16.LoadDataTemplate);
         ((IDataTemplate)dataTemplate2).set_LoadTemplate(func);
         ((BindableObject)listView).SetValue((BindableProperty)ItemsView <Cell> .ItemTemplateProperty, (object)dataTemplate1);
         ((ICollection <View>)grid2.get_Children()).Add((View)listView);
         resourceExtension3.set_Key("OverlayColor");
         StaticResourceExtension resourceExtension7   = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider7 = new XamlServiceProvider();
         Type     type13    = typeof(IProvideValueTarget);
         object[] objArray8 = new object[0 + 3];
         objArray8[0] = (object)grid1;
         objArray8[1] = (object)grid2;
         objArray8[2] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider7;
         object obj13 = (object)(valueTargetProvider7 = new SimpleValueTargetProvider(objArray8, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider7.Add(type13, (object)valueTargetProvider7);
         xamlServiceProvider7.Add(typeof(IReferenceProvider), obj13);
         Type type14 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver7 = new XmlNamespaceResolver();
         namespaceResolver7.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver7.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver7.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver7.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver7.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver7.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver7.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver7.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver7.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver7.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver7.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver7 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver7, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider7.Add(type14, (object)xamlTypeResolver7);
         xamlServiceProvider7.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(101, 15)));
         object obj14 = ((IMarkupExtension)resourceExtension7).ProvideValue((IServiceProvider)xamlServiceProvider7);
         ((VisualElement)grid1).set_BackgroundColor((Color)obj14);
         bindingExtension7.set_Path("IsLoading");
         BindingBase bindingBase7 = ((IMarkupExtension <BindingBase>)bindingExtension7).ProvideValue((IServiceProvider)null);
         ((BindableObject)grid1).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase7);
         ((BindableObject)circleImage).SetValue((BindableProperty)CircleImage.FillColorProperty, (object)(Color)Color.White);
         resourceExtension4.set_Key("ListItemIconStyle");
         StaticResourceExtension resourceExtension8   = resourceExtension4;
         XamlServiceProvider     xamlServiceProvider8 = new XamlServiceProvider();
         Type     type15    = typeof(IProvideValueTarget);
         object[] objArray9 = new object[0 + 4];
         objArray9[0] = (object)circleImage;
         objArray9[1] = (object)grid1;
         objArray9[2] = (object)grid2;
         objArray9[3] = (object)eventsPage;
         SimpleValueTargetProvider valueTargetProvider8;
         object obj15 = (object)(valueTargetProvider8 = new SimpleValueTargetProvider(objArray9, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider8.Add(type15, (object)valueTargetProvider8);
         xamlServiceProvider8.Add(typeof(IReferenceProvider), obj15);
         Type type16 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver8 = new XmlNamespaceResolver();
         namespaceResolver8.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver8.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver8.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver8.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver8.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver8.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver8.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver8.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver8.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver8.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         namespaceResolver8.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver8 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver8, typeof(EventsPage).GetTypeInfo().Assembly);
         xamlServiceProvider8.Add(type16, (object)xamlTypeResolver8);
         xamlServiceProvider8.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(102, 56)));
         object obj16 = ((IMarkupExtension)resourceExtension8).ProvideValue((IServiceProvider)xamlServiceProvider8);
         ((NavigableElement)circleImage).set_Style((Style)obj16);
         ((ICollection <View>)grid1.get_Children()).Add((View)circleImage);
         bindingExtension8.set_Path("IsLoading");
         BindingBase bindingBase8 = ((IMarkupExtension <BindingBase>)bindingExtension8).ProvideValue((IServiceProvider)null);
         ((BindableObject)activityIndicator).SetBinding((BindableProperty)ActivityIndicator.IsRunningProperty, bindingBase8);
         bindingExtension9.set_Path("IsLoading");
         BindingBase bindingBase9 = ((IMarkupExtension <BindingBase>)bindingExtension9).ProvideValue((IServiceProvider)null);
         ((BindableObject)activityIndicator).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase9);
         ((ICollection <View>)grid1.get_Children()).Add((View)activityIndicator);
         ((ICollection <View>)grid2.get_Children()).Add((View)grid1);
         ((BindableObject)eventsPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid2);
     }
 }
Beispiel #12
0
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(RatingChooser).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/RatingChooser.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         ScaleAnimation          scaleAnimation      = new ScaleAnimation();
         RatingChooserViewModel  chooserViewModel    = new RatingChooserViewModel();
         StaticResourceExtension resourceExtension1  = new StaticResourceExtension();
         TranslateExtension      translateExtension1 = new TranslateExtension();
         Label label1 = new Label();
         StaticResourceExtension resourceExtension2  = new StaticResourceExtension();
         TranslateExtension      translateExtension2 = new TranslateExtension();
         Label                   label2              = new Label();
         BindingExtension        bindingExtension1   = new BindingExtension();
         TranslateExtension      translateExtension3 = new TranslateExtension();
         StaticResourceExtension resourceExtension3  = new StaticResourceExtension();
         TranslateExtension      translateExtension4 = new TranslateExtension();
         Button                  button1             = new Button();
         StaticResourceExtension resourceExtension4  = new StaticResourceExtension();
         BoxView                 boxView1            = new BoxView();
         BindingExtension        bindingExtension2   = new BindingExtension();
         TranslateExtension      translateExtension5 = new TranslateExtension();
         StaticResourceExtension resourceExtension5  = new StaticResourceExtension();
         TranslateExtension      translateExtension6 = new TranslateExtension();
         Button                  button2             = new Button();
         StaticResourceExtension resourceExtension6  = new StaticResourceExtension();
         BoxView                 boxView2            = new BoxView();
         BindingExtension        bindingExtension3   = new BindingExtension();
         TranslateExtension      translateExtension7 = new TranslateExtension();
         StaticResourceExtension resourceExtension7  = new StaticResourceExtension();
         TranslateExtension      translateExtension8 = new TranslateExtension();
         Button                  button3             = new Button();
         StackLayout             stackLayout         = new StackLayout();
         RatingChooser           ratingChooser;
         NameScope               nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(ratingChooser = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)ratingChooser, (INameScope)nameScope);
         ((BindableObject)ratingChooser).SetValue((BindableProperty)BindableObject.BindingContextProperty, (object)"viewModels:RatingChooserViewModel");
         ((BindableObject)ratingChooser).SetValue((BindableProperty)PopupPage.CloseWhenBackgroundIsClickedProperty, (object)false);
         ((BaseAnimation)scaleAnimation).set_DurationIn((uint)new UintTypeConverter().ConvertFromInvariantString("400"));
         ((BaseAnimation)scaleAnimation).set_DurationOut((uint)new UintTypeConverter().ConvertFromInvariantString("300"));
         ((BaseAnimation)scaleAnimation).set_EasingIn((Easing) new EasingTypeConverter().ConvertFromInvariantString("SinOut"));
         ((BaseAnimation)scaleAnimation).set_EasingOut((Easing) new EasingTypeConverter().ConvertFromInvariantString("SinIn"));
         ((FadeAnimation)scaleAnimation).set_HasBackgroundAnimation(true);
         scaleAnimation.set_PositionIn((MoveAnimationOptions)0);
         scaleAnimation.set_PositionOut((MoveAnimationOptions)0);
         scaleAnimation.set_ScaleIn(1.2);
         scaleAnimation.set_ScaleOut(0.8);
         ((BindableObject)ratingChooser).SetValue((BindableProperty)PopupPage.AnimationProperty, (object)scaleAnimation);
         ((BindableObject)ratingChooser).SetValue((BindableProperty)BindableObject.BindingContextProperty, (object)chooserViewModel);
         ((BindableObject)stackLayout).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(20.0, 0.0));
         ((BindableObject)stackLayout).SetValue((BindableProperty)Layout.PaddingProperty, (object)new Thickness(20.0, 20.0, 20.0, 20.0));
         ((BindableObject)stackLayout).SetValue((BindableProperty)VisualElement.BackgroundColorProperty, (object)new Color(0.878431379795074, 0.878431379795074, 0.878431379795074, 1.0));
         ((BindableObject)stackLayout).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)stackLayout).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.Center);
         ((BindableObject)label1).SetValue((BindableProperty)VisualElement.MinimumHeightRequestProperty, (object)40.0);
         resourceExtension1.set_Key("RatingChooserTitleStyle");
         StaticResourceExtension resourceExtension8   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 3];
         objArray1[0] = (object)label1;
         objArray1[1] = (object)stackLayout;
         objArray1[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(41, 13)));
         object obj2 = ((IMarkupExtension)resourceExtension8).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((NavigableElement)label1).set_Style((Style)obj2);
         translateExtension1.Text = "Rating_EvaulationPopupTitle";
         TranslateExtension  translateExtension9  = translateExtension1;
         XamlServiceProvider xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 3];
         objArray2[0] = (object)label1;
         objArray2[1] = (object)stackLayout;
         objArray2[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)Label.TextProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(42, 13)));
         object obj4 = ((IMarkupExtension)translateExtension9).ProvideValue((IServiceProvider)xamlServiceProvider2);
         label1.set_Text((string)obj4);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label1);
         ((BindableObject)label2).SetValue((BindableProperty)VisualElement.MinimumHeightRequestProperty, (object)40.0);
         resourceExtension2.set_Key("RatingChooserDescriptionStyle");
         StaticResourceExtension resourceExtension9   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray3 = new object[0 + 3];
         objArray3[0] = (object)label2;
         objArray3[1] = (object)stackLayout;
         objArray3[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray3, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(45, 13)));
         object obj6 = ((IMarkupExtension)resourceExtension9).ProvideValue((IServiceProvider)xamlServiceProvider3);
         ((NavigableElement)label2).set_Style((Style)obj6);
         translateExtension2.Text = "Rating_EvaulationPopupDescription";
         TranslateExtension  translateExtension10 = translateExtension2;
         XamlServiceProvider xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 3];
         objArray4[0] = (object)label2;
         objArray4[1] = (object)stackLayout;
         objArray4[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray4, (object)Label.TextProperty, (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(46, 13)));
         object obj8 = ((IMarkupExtension)translateExtension10).ProvideValue((IServiceProvider)xamlServiceProvider4);
         label2.set_Text((string)obj8);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)label2);
         bindingExtension1.set_Path("OnButtonClickCommand");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)button1).SetBinding((BindableProperty)Button.CommandProperty, bindingBase1);
         translateExtension3.Text = "Rating_EvaulationLikeTitle";
         TranslateExtension  translateExtension11 = translateExtension3;
         XamlServiceProvider xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 3];
         objArray5[0] = (object)button1;
         objArray5[1] = (object)stackLayout;
         objArray5[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray5, (object)Button.CommandParameterProperty, (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver5.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver5.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver5.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver5.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(49, 13)));
         object obj10 = ((IMarkupExtension)translateExtension11).ProvideValue((IServiceProvider)xamlServiceProvider5);
         ((BindableObject)button1).SetValue((BindableProperty)Button.CommandParameterProperty, obj10);
         resourceExtension3.set_Key("RatingChooserButtonStyle");
         StaticResourceExtension resourceExtension10  = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider6 = new XamlServiceProvider();
         Type     type11    = typeof(IProvideValueTarget);
         object[] objArray6 = new object[0 + 3];
         objArray6[0] = (object)button1;
         objArray6[1] = (object)stackLayout;
         objArray6[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider6;
         object obj11 = (object)(valueTargetProvider6 = new SimpleValueTargetProvider(objArray6, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider6.Add(type11, (object)valueTargetProvider6);
         xamlServiceProvider6.Add(typeof(IReferenceProvider), obj11);
         Type type12 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver6 = new XmlNamespaceResolver();
         namespaceResolver6.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver6.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver6.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver6.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver6.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver6.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver6.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver6.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver6 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver6, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider6.Add(type12, (object)xamlTypeResolver6);
         xamlServiceProvider6.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(50, 13)));
         object obj12 = ((IMarkupExtension)resourceExtension10).ProvideValue((IServiceProvider)xamlServiceProvider6);
         ((NavigableElement)button1).set_Style((Style)obj12);
         translateExtension4.Text = "Rating_EvaulationLikeTitle";
         TranslateExtension  translateExtension12 = translateExtension4;
         XamlServiceProvider xamlServiceProvider7 = new XamlServiceProvider();
         Type     type13    = typeof(IProvideValueTarget);
         object[] objArray7 = new object[0 + 3];
         objArray7[0] = (object)button1;
         objArray7[1] = (object)stackLayout;
         objArray7[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider7;
         object obj13 = (object)(valueTargetProvider7 = new SimpleValueTargetProvider(objArray7, (object)Button.TextProperty, (INameScope)nameScope));
         xamlServiceProvider7.Add(type13, (object)valueTargetProvider7);
         xamlServiceProvider7.Add(typeof(IReferenceProvider), obj13);
         Type type14 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver7 = new XmlNamespaceResolver();
         namespaceResolver7.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver7.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver7.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver7.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver7.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver7.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver7.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver7.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver7 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver7, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider7.Add(type14, (object)xamlTypeResolver7);
         xamlServiceProvider7.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(51, 13)));
         object obj14 = ((IMarkupExtension)translateExtension12).ProvideValue((IServiceProvider)xamlServiceProvider7);
         button1.set_Text((string)obj14);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)button1);
         ((BindableObject)boxView1).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(0.0, 4.0));
         ((BindableObject)boxView1).SetValue((BindableProperty)VisualElement.HeightRequestProperty, (object)1.0);
         ((BindableObject)boxView1).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         resourceExtension4.set_Key("RatingChooserSeparatorColor");
         StaticResourceExtension resourceExtension11  = resourceExtension4;
         XamlServiceProvider     xamlServiceProvider8 = new XamlServiceProvider();
         Type     type15    = typeof(IProvideValueTarget);
         object[] objArray8 = new object[0 + 3];
         objArray8[0] = (object)boxView1;
         objArray8[1] = (object)stackLayout;
         objArray8[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider8;
         object obj15 = (object)(valueTargetProvider8 = new SimpleValueTargetProvider(objArray8, (object)BoxView.ColorProperty, (INameScope)nameScope));
         xamlServiceProvider8.Add(type15, (object)valueTargetProvider8);
         xamlServiceProvider8.Add(typeof(IReferenceProvider), obj15);
         Type type16 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver8 = new XmlNamespaceResolver();
         namespaceResolver8.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver8.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver8.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver8.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver8.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver8.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver8.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver8.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver8 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver8, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider8.Add(type16, (object)xamlTypeResolver8);
         xamlServiceProvider8.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(56, 13)));
         object obj16 = ((IMarkupExtension)resourceExtension11).ProvideValue((IServiceProvider)xamlServiceProvider8);
         boxView1.set_Color((Color)obj16);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)boxView1);
         bindingExtension2.set_Path("OnButtonClickCommand");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)button2).SetBinding((BindableProperty)Button.CommandProperty, bindingBase2);
         translateExtension5.Text = "Rating_EvaulationDislikeTitle";
         TranslateExtension  translateExtension13 = translateExtension5;
         XamlServiceProvider xamlServiceProvider9 = new XamlServiceProvider();
         Type     type17    = typeof(IProvideValueTarget);
         object[] objArray9 = new object[0 + 3];
         objArray9[0] = (object)button2;
         objArray9[1] = (object)stackLayout;
         objArray9[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider9;
         object obj17 = (object)(valueTargetProvider9 = new SimpleValueTargetProvider(objArray9, (object)Button.CommandParameterProperty, (INameScope)nameScope));
         xamlServiceProvider9.Add(type17, (object)valueTargetProvider9);
         xamlServiceProvider9.Add(typeof(IReferenceProvider), obj17);
         Type type18 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver9 = new XmlNamespaceResolver();
         namespaceResolver9.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver9.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver9.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver9.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver9.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver9.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver9.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver9.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver9 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver9, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider9.Add(type18, (object)xamlTypeResolver9);
         xamlServiceProvider9.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(59, 13)));
         object obj18 = ((IMarkupExtension)translateExtension13).ProvideValue((IServiceProvider)xamlServiceProvider9);
         ((BindableObject)button2).SetValue((BindableProperty)Button.CommandParameterProperty, obj18);
         resourceExtension5.set_Key("RatingChooserButtonStyle");
         StaticResourceExtension resourceExtension12   = resourceExtension5;
         XamlServiceProvider     xamlServiceProvider10 = new XamlServiceProvider();
         Type     type19     = typeof(IProvideValueTarget);
         object[] objArray10 = new object[0 + 3];
         objArray10[0] = (object)button2;
         objArray10[1] = (object)stackLayout;
         objArray10[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider10;
         object obj19 = (object)(valueTargetProvider10 = new SimpleValueTargetProvider(objArray10, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider10.Add(type19, (object)valueTargetProvider10);
         xamlServiceProvider10.Add(typeof(IReferenceProvider), obj19);
         Type type20 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver10 = new XmlNamespaceResolver();
         namespaceResolver10.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver10.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver10.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver10.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver10.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver10.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver10.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver10.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver10 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver10, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider10.Add(type20, (object)xamlTypeResolver10);
         xamlServiceProvider10.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(60, 13)));
         object obj20 = ((IMarkupExtension)resourceExtension12).ProvideValue((IServiceProvider)xamlServiceProvider10);
         ((NavigableElement)button2).set_Style((Style)obj20);
         translateExtension6.Text = "Rating_EvaulationDislikeTitle";
         TranslateExtension  translateExtension14  = translateExtension6;
         XamlServiceProvider xamlServiceProvider11 = new XamlServiceProvider();
         Type     type21     = typeof(IProvideValueTarget);
         object[] objArray11 = new object[0 + 3];
         objArray11[0] = (object)button2;
         objArray11[1] = (object)stackLayout;
         objArray11[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider11;
         object obj21 = (object)(valueTargetProvider11 = new SimpleValueTargetProvider(objArray11, (object)Button.TextProperty, (INameScope)nameScope));
         xamlServiceProvider11.Add(type21, (object)valueTargetProvider11);
         xamlServiceProvider11.Add(typeof(IReferenceProvider), obj21);
         Type type22 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver11 = new XmlNamespaceResolver();
         namespaceResolver11.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver11.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver11.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver11.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver11.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver11.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver11.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver11.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver11 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver11, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider11.Add(type22, (object)xamlTypeResolver11);
         xamlServiceProvider11.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(61, 13)));
         object obj22 = ((IMarkupExtension)translateExtension14).ProvideValue((IServiceProvider)xamlServiceProvider11);
         button2.set_Text((string)obj22);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)button2);
         ((BindableObject)boxView2).SetValue((BindableProperty)View.MarginProperty, (object)new Thickness(0.0, 4.0));
         ((BindableObject)boxView2).SetValue((BindableProperty)VisualElement.HeightRequestProperty, (object)1.0);
         ((BindableObject)boxView2).SetValue((BindableProperty)View.HorizontalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         resourceExtension6.set_Key("RatingChooserSeparatorColor");
         StaticResourceExtension resourceExtension13   = resourceExtension6;
         XamlServiceProvider     xamlServiceProvider12 = new XamlServiceProvider();
         Type     type23     = typeof(IProvideValueTarget);
         object[] objArray12 = new object[0 + 3];
         objArray12[0] = (object)boxView2;
         objArray12[1] = (object)stackLayout;
         objArray12[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider12;
         object obj23 = (object)(valueTargetProvider12 = new SimpleValueTargetProvider(objArray12, (object)BoxView.ColorProperty, (INameScope)nameScope));
         xamlServiceProvider12.Add(type23, (object)valueTargetProvider12);
         xamlServiceProvider12.Add(typeof(IReferenceProvider), obj23);
         Type type24 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver12 = new XmlNamespaceResolver();
         namespaceResolver12.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver12.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver12.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver12.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver12.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver12.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver12.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver12.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver12 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver12, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider12.Add(type24, (object)xamlTypeResolver12);
         xamlServiceProvider12.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(66, 13)));
         object obj24 = ((IMarkupExtension)resourceExtension13).ProvideValue((IServiceProvider)xamlServiceProvider12);
         boxView2.set_Color((Color)obj24);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)boxView2);
         bindingExtension3.set_Path("OnButtonClickCommand");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)button3).SetBinding((BindableProperty)Button.CommandProperty, bindingBase3);
         translateExtension7.Text = "Rating_EvaulationAnotherTime";
         TranslateExtension  translateExtension15  = translateExtension7;
         XamlServiceProvider xamlServiceProvider13 = new XamlServiceProvider();
         Type     type25     = typeof(IProvideValueTarget);
         object[] objArray13 = new object[0 + 3];
         objArray13[0] = (object)button3;
         objArray13[1] = (object)stackLayout;
         objArray13[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider13;
         object obj25 = (object)(valueTargetProvider13 = new SimpleValueTargetProvider(objArray13, (object)Button.CommandParameterProperty, (INameScope)nameScope));
         xamlServiceProvider13.Add(type25, (object)valueTargetProvider13);
         xamlServiceProvider13.Add(typeof(IReferenceProvider), obj25);
         Type type26 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver13 = new XmlNamespaceResolver();
         namespaceResolver13.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver13.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver13.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver13.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver13.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver13.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver13.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver13.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver13 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver13, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider13.Add(type26, (object)xamlTypeResolver13);
         xamlServiceProvider13.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(69, 13)));
         object obj26 = ((IMarkupExtension)translateExtension15).ProvideValue((IServiceProvider)xamlServiceProvider13);
         ((BindableObject)button3).SetValue((BindableProperty)Button.CommandParameterProperty, obj26);
         resourceExtension7.set_Key("RatingChooserButtonStyle");
         StaticResourceExtension resourceExtension14   = resourceExtension7;
         XamlServiceProvider     xamlServiceProvider14 = new XamlServiceProvider();
         Type     type27     = typeof(IProvideValueTarget);
         object[] objArray14 = new object[0 + 3];
         objArray14[0] = (object)button3;
         objArray14[1] = (object)stackLayout;
         objArray14[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider14;
         object obj27 = (object)(valueTargetProvider14 = new SimpleValueTargetProvider(objArray14, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider14.Add(type27, (object)valueTargetProvider14);
         xamlServiceProvider14.Add(typeof(IReferenceProvider), obj27);
         Type type28 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver14 = new XmlNamespaceResolver();
         namespaceResolver14.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver14.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver14.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver14.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver14.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver14.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver14.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver14.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver14 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver14, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider14.Add(type28, (object)xamlTypeResolver14);
         xamlServiceProvider14.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(70, 13)));
         object obj28 = ((IMarkupExtension)resourceExtension14).ProvideValue((IServiceProvider)xamlServiceProvider14);
         ((NavigableElement)button3).set_Style((Style)obj28);
         translateExtension8.Text = "Rating_EvaulationAnotherTime";
         TranslateExtension  translateExtension16  = translateExtension8;
         XamlServiceProvider xamlServiceProvider15 = new XamlServiceProvider();
         Type     type29     = typeof(IProvideValueTarget);
         object[] objArray15 = new object[0 + 3];
         objArray15[0] = (object)button3;
         objArray15[1] = (object)stackLayout;
         objArray15[2] = (object)ratingChooser;
         SimpleValueTargetProvider valueTargetProvider15;
         object obj29 = (object)(valueTargetProvider15 = new SimpleValueTargetProvider(objArray15, (object)Button.TextProperty, (INameScope)nameScope));
         xamlServiceProvider15.Add(type29, (object)valueTargetProvider15);
         xamlServiceProvider15.Add(typeof(IReferenceProvider), obj29);
         Type type30 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver15 = new XmlNamespaceResolver();
         namespaceResolver15.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver15.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver15.Add("animations", "clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup");
         namespaceResolver15.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver15.Add("extensions", "clr-namespace:Ekreta.Mobile.Core.Extensions;assembly=Ekreta.Mobile.Core");
         namespaceResolver15.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver15.Add("pages", "clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup");
         namespaceResolver15.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         XamlTypeResolver xamlTypeResolver15 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver15, typeof(RatingChooser).GetTypeInfo().Assembly);
         xamlServiceProvider15.Add(type30, (object)xamlTypeResolver15);
         xamlServiceProvider15.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(71, 13)));
         object obj30 = ((IMarkupExtension)translateExtension16).ProvideValue((IServiceProvider)xamlServiceProvider15);
         button3.set_Text((string)obj30);
         ((ICollection <View>)((Layout <View>)stackLayout).get_Children()).Add((View)button3);
         ((BindableObject)ratingChooser).SetValue((BindableProperty)ContentPage.ContentProperty, (object)stackLayout);
     }
 }
 private void InitializeComponent()
 {
     ResourceLoader.ResourceLoadingQuery resourceLoadingQuery = new ResourceLoader.ResourceLoadingQuery();
     resourceLoadingQuery.set_AssemblyName(typeof(MessagesPage).GetTypeInfo().Assembly.GetName());
     resourceLoadingQuery.set_ResourcePath("Views/MessagesPage.xaml");
     resourceLoadingQuery.set_Instance((object)this);
     if (ResourceLoader.CanProvideContentFor(resourceLoadingQuery))
     {
         this.__InitComponentRuntime();
     }
     else if (XamlLoader.get_XamlFileProvider() != null && XamlLoader.get_XamlFileProvider()(((object)this).GetType()) != null)
     {
         this.__InitComponentRuntime();
     }
     else
     {
         BindingExtension        bindingExtension1  = new BindingExtension();
         StaticResourceExtension resourceExtension1 = new StaticResourceExtension();
         BindingExtension        bindingExtension2  = new BindingExtension();
         EmptyView emptyView = new EmptyView();
         StaticResourceExtension resourceExtension2 = new StaticResourceExtension();
         BindingExtension        bindingExtension3  = new BindingExtension();
         BindingExtension        bindingExtension4  = new BindingExtension();
         BindingExtension        bindingExtension5  = new BindingExtension();
         DataTemplate            dataTemplate1      = new DataTemplate();
         ListView listView = new ListView((ListViewCachingStrategy)1);
         StaticResourceExtension resourceExtension3 = new StaticResourceExtension();
         BindingExtension        bindingExtension6  = new BindingExtension();
         StaticResourceExtension resourceExtension4 = new StaticResourceExtension();
         BoxView boxView = new BoxView();
         StaticResourceExtension resourceExtension5 = new StaticResourceExtension();
         CircleImage             circleImage        = new CircleImage();
         BindingExtension        bindingExtension7  = new BindingExtension();
         BindingExtension        bindingExtension8  = new BindingExtension();
         ActivityIndicator       activityIndicator  = new ActivityIndicator();
         Grid         grid1 = new Grid();
         Grid         grid2 = new Grid();
         MessagesPage messagesPage;
         NameScope    nameScope = (NameScope)(NameScope.GetNameScope((BindableObject)(messagesPage = this)) ?? (INameScope) new NameScope());
         NameScope.SetNameScope((BindableObject)messagesPage, (INameScope)nameScope);
         ((INameScope)nameScope).RegisterName("Page", (object)messagesPage);
         if (((Element)messagesPage).get_StyleId() == null)
         {
             ((Element)messagesPage).set_StyleId("Page");
         }
         ((INameScope)nameScope).RegisterName("MessageListView", (object)listView);
         if (((Element)listView).get_StyleId() == null)
         {
             ((Element)listView).set_StyleId("MessageListView");
         }
         this.Page            = (MvxContentPage <MessagesViewModel>)messagesPage;
         this.MessageListView = listView;
         bindingExtension1.set_Path("TitleIncludeConnectivityState");
         BindingBase bindingBase1 = ((IMarkupExtension <BindingBase>)bindingExtension1).ProvideValue((IServiceProvider)null);
         ((BindableObject)messagesPage).SetBinding((BindableProperty)Xamarin.Forms.Page.TitleProperty, bindingBase1);
         ((BindableObject)messagesPage).SetValue((BindableProperty)Xamarin.Forms.PlatformConfiguration.iOSSpecific.Page.UseSafeAreaProperty, (object)true);
         resourceExtension1.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension6   = resourceExtension1;
         XamlServiceProvider     xamlServiceProvider1 = new XamlServiceProvider();
         Type     type1     = typeof(IProvideValueTarget);
         object[] objArray1 = new object[0 + 1];
         objArray1[0] = (object)messagesPage;
         SimpleValueTargetProvider valueTargetProvider1;
         object obj1 = (object)(valueTargetProvider1 = new SimpleValueTargetProvider(objArray1, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider1.Add(type1, (object)valueTargetProvider1);
         xamlServiceProvider1.Add(typeof(IReferenceProvider), obj1);
         Type type2 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver1 = new XmlNamespaceResolver();
         namespaceResolver1.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver1.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver1.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver1.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver1.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver1.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver1.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver1.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver1.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         XamlTypeResolver xamlTypeResolver1 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver1, typeof(MessagesPage).GetTypeInfo().Assembly);
         xamlServiceProvider1.Add(type2, (object)xamlTypeResolver1);
         xamlServiceProvider1.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(18, 5)));
         object obj2 = ((IMarkupExtension)resourceExtension6).ProvideValue((IServiceProvider)xamlServiceProvider1);
         ((VisualElement)messagesPage).set_BackgroundColor((Color)obj2);
         bindingExtension2.set_Path("PostaladaElemek.Count");
         BindingBase bindingBase2 = ((IMarkupExtension <BindingBase>)bindingExtension2).ProvideValue((IServiceProvider)null);
         ((BindableObject)emptyView).SetBinding((BindableProperty)BindableObject.BindingContextProperty, bindingBase2);
         ((ICollection <View>)grid2.get_Children()).Add((View)emptyView);
         resourceExtension2.set_Key("ListViewMonthGroupHeaderTemplate");
         StaticResourceExtension resourceExtension7   = resourceExtension2;
         XamlServiceProvider     xamlServiceProvider2 = new XamlServiceProvider();
         Type     type3     = typeof(IProvideValueTarget);
         object[] objArray2 = new object[0 + 3];
         objArray2[0] = (object)listView;
         objArray2[1] = (object)grid2;
         objArray2[2] = (object)messagesPage;
         SimpleValueTargetProvider valueTargetProvider2;
         object obj3 = (object)(valueTargetProvider2 = new SimpleValueTargetProvider(objArray2, (object)ListView.GroupHeaderTemplateProperty, (INameScope)nameScope));
         xamlServiceProvider2.Add(type3, (object)valueTargetProvider2);
         xamlServiceProvider2.Add(typeof(IReferenceProvider), obj3);
         Type type4 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver2 = new XmlNamespaceResolver();
         namespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver2.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver2.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver2.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver2.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver2.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver2.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver2.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         XamlTypeResolver xamlTypeResolver2 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver2, typeof(MessagesPage).GetTypeInfo().Assembly);
         xamlServiceProvider2.Add(type4, (object)xamlTypeResolver2);
         xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(28, 13)));
         object obj4 = ((IMarkupExtension)resourceExtension7).ProvideValue((IServiceProvider)xamlServiceProvider2);
         listView.set_GroupHeaderTemplate((DataTemplate)obj4);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.HasUnevenRowsProperty, (object)true);
         ((BindableObject)listView).SetValue((BindableProperty)ListView.IsPullToRefreshEnabledProperty, (object)true);
         bindingExtension3.set_Path("PostaladaElemek");
         BindingBase bindingBase3 = ((IMarkupExtension <BindingBase>)bindingExtension3).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ItemsView <Cell> .ItemsSourceProperty, bindingBase3);
         bindingExtension4.set_Path("RefreshCommand");
         BindingBase bindingBase4 = ((IMarkupExtension <BindingBase>)bindingExtension4).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.RefreshCommandProperty, bindingBase4);
         bindingExtension5.set_Mode((BindingMode)1);
         bindingExtension5.set_Path("SelectedItem");
         BindingBase bindingBase5 = ((IMarkupExtension <BindingBase>)bindingExtension5).ProvideValue((IServiceProvider)null);
         ((BindableObject)listView).SetBinding((BindableProperty)ListView.SelectedItemProperty, bindingBase5);
         ((BindableObject)listView).SetValue((BindableProperty)View.VerticalOptionsProperty, (object)(LayoutOptions)LayoutOptions.FillAndExpand);
         DataTemplate dataTemplate2 = dataTemplate1;
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         MessagesPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_28 xamlCdataTemplate28 = new MessagesPage.\u003CInitializeComponent\u003E_anonXamlCDataTemplate_28();
         object[] objArray3 = new object[0 + 4];
         objArray3[0] = (object)dataTemplate1;
         objArray3[1] = (object)listView;
         objArray3[2] = (object)grid2;
         objArray3[3] = (object)messagesPage;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate28.parentValues = objArray3;
         // ISSUE: reference to a compiler-generated field
         xamlCdataTemplate28.root = messagesPage;
         // ISSUE: reference to a compiler-generated method
         Func <object> func = new Func <object>(xamlCdataTemplate28.LoadDataTemplate);
         ((IDataTemplate)dataTemplate2).set_LoadTemplate(func);
         ((BindableObject)listView).SetValue((BindableProperty)ItemsView <Cell> .ItemTemplateProperty, (object)dataTemplate1);
         ((ICollection <View>)grid2.get_Children()).Add((View)listView);
         resourceExtension3.set_Key("OverlayColor");
         StaticResourceExtension resourceExtension8   = resourceExtension3;
         XamlServiceProvider     xamlServiceProvider3 = new XamlServiceProvider();
         Type     type5     = typeof(IProvideValueTarget);
         object[] objArray4 = new object[0 + 3];
         objArray4[0] = (object)grid1;
         objArray4[1] = (object)grid2;
         objArray4[2] = (object)messagesPage;
         SimpleValueTargetProvider valueTargetProvider3;
         object obj5 = (object)(valueTargetProvider3 = new SimpleValueTargetProvider(objArray4, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider3.Add(type5, (object)valueTargetProvider3);
         xamlServiceProvider3.Add(typeof(IReferenceProvider), obj5);
         Type type6 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver3 = new XmlNamespaceResolver();
         namespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver3.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver3.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver3.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver3.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver3.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver3.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver3.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         XamlTypeResolver xamlTypeResolver3 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver3, typeof(MessagesPage).GetTypeInfo().Assembly);
         xamlServiceProvider3.Add(type6, (object)xamlTypeResolver3);
         xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(101, 13)));
         object obj6 = ((IMarkupExtension)resourceExtension8).ProvideValue((IServiceProvider)xamlServiceProvider3);
         ((VisualElement)grid1).set_BackgroundColor((Color)obj6);
         bindingExtension6.set_Path("IsLoading");
         BindingBase bindingBase6 = ((IMarkupExtension <BindingBase>)bindingExtension6).ProvideValue((IServiceProvider)null);
         ((BindableObject)grid1).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase6);
         resourceExtension4.set_Key("PageBackgroundColor");
         StaticResourceExtension resourceExtension9   = resourceExtension4;
         XamlServiceProvider     xamlServiceProvider4 = new XamlServiceProvider();
         Type     type7     = typeof(IProvideValueTarget);
         object[] objArray5 = new object[0 + 4];
         objArray5[0] = (object)boxView;
         objArray5[1] = (object)grid1;
         objArray5[2] = (object)grid2;
         objArray5[3] = (object)messagesPage;
         SimpleValueTargetProvider valueTargetProvider4;
         object obj7 = (object)(valueTargetProvider4 = new SimpleValueTargetProvider(objArray5, (object)VisualElement.BackgroundColorProperty, (INameScope)nameScope));
         xamlServiceProvider4.Add(type7, (object)valueTargetProvider4);
         xamlServiceProvider4.Add(typeof(IReferenceProvider), obj7);
         Type type8 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver4 = new XmlNamespaceResolver();
         namespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver4.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver4.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver4.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver4.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver4.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver4.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver4.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         XamlTypeResolver xamlTypeResolver4 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver4, typeof(MessagesPage).GetTypeInfo().Assembly);
         xamlServiceProvider4.Add(type8, (object)xamlTypeResolver4);
         xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(103, 22)));
         object obj8 = ((IMarkupExtension)resourceExtension9).ProvideValue((IServiceProvider)xamlServiceProvider4);
         ((VisualElement)boxView).set_BackgroundColor((Color)obj8);
         ((ICollection <View>)grid1.get_Children()).Add((View)boxView);
         ((BindableObject)circleImage).SetValue((BindableProperty)CircleImage.FillColorProperty, (object)(Color)Color.White);
         resourceExtension5.set_Key("ListItemIconStyle");
         StaticResourceExtension resourceExtension10  = resourceExtension5;
         XamlServiceProvider     xamlServiceProvider5 = new XamlServiceProvider();
         Type     type9     = typeof(IProvideValueTarget);
         object[] objArray6 = new object[0 + 4];
         objArray6[0] = (object)circleImage;
         objArray6[1] = (object)grid1;
         objArray6[2] = (object)grid2;
         objArray6[3] = (object)messagesPage;
         SimpleValueTargetProvider valueTargetProvider5;
         object obj9 = (object)(valueTargetProvider5 = new SimpleValueTargetProvider(objArray6, (object)VisualElement.StyleProperty, (INameScope)nameScope));
         xamlServiceProvider5.Add(type9, (object)valueTargetProvider5);
         xamlServiceProvider5.Add(typeof(IReferenceProvider), obj9);
         Type type10 = typeof(IXamlTypeResolver);
         XmlNamespaceResolver namespaceResolver5 = new XmlNamespaceResolver();
         namespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
         namespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
         namespaceResolver5.Add("controls", "clr-namespace:Ekreta.Mobile.Core.Controls;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("d", "http://xamarin.com/schemas/2014/forms/design");
         namespaceResolver5.Add("ffimageloading", "clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms");
         namespaceResolver5.Add("ios", "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core");
         namespaceResolver5.Add("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
         namespaceResolver5.Add("mvvmcross", "clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms");
         namespaceResolver5.Add("viewModels", "clr-namespace:Ekreta.Mobile.Core.ViewModels;assembly=Ekreta.Mobile.Core");
         namespaceResolver5.Add("pluginImage", "clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions");
         XamlTypeResolver xamlTypeResolver5 = new XamlTypeResolver((IXmlNamespaceResolver)namespaceResolver5, typeof(MessagesPage).GetTypeInfo().Assembly);
         xamlServiceProvider5.Add(type10, (object)xamlTypeResolver5);
         xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo) new XmlLineInfo(104, 56)));
         object obj10 = ((IMarkupExtension)resourceExtension10).ProvideValue((IServiceProvider)xamlServiceProvider5);
         ((NavigableElement)circleImage).set_Style((Style)obj10);
         ((ICollection <View>)grid1.get_Children()).Add((View)circleImage);
         bindingExtension7.set_Path("IsLoading");
         BindingBase bindingBase7 = ((IMarkupExtension <BindingBase>)bindingExtension7).ProvideValue((IServiceProvider)null);
         ((BindableObject)activityIndicator).SetBinding((BindableProperty)ActivityIndicator.IsRunningProperty, bindingBase7);
         bindingExtension8.set_Path("IsLoading");
         BindingBase bindingBase8 = ((IMarkupExtension <BindingBase>)bindingExtension8).ProvideValue((IServiceProvider)null);
         ((BindableObject)activityIndicator).SetBinding((BindableProperty)VisualElement.IsVisibleProperty, bindingBase8);
         ((ICollection <View>)grid1.get_Children()).Add((View)activityIndicator);
         ((ICollection <View>)grid2.get_Children()).Add((View)grid1);
         ((BindableObject)messagesPage).SetValue((BindableProperty)ContentPage.ContentProperty, (object)grid2);
     }
 }