Esempio n. 1
0
			V_1 = Expression.Parameter(System.Type.GetTypeFromHandle(// 
			// Current member / type: System.Void Mix.Cms.Lib.ViewModels.MixPosts.UpdateViewModel::LoadMedias(Mix.Cms.Lib.Models.Cms.MixCmsContext,Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction)
			// Exception in: System.Void LoadMedias(Mix.Cms.Lib.Models.Cms.MixCmsContext,Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction)
			// Specified method is not supported.
			// 
			// mailto: [email protected]


		private void LoadParentModules(MixCmsContext _context, IDbContextTransaction _transaction)
		{
			V_0 = new Mix.Cms.Lib.ViewModels.MixPosts.UpdateViewModel.u003cu003ec__DisplayClass215_0();
			V_0.u003cu003e4__this = this;
			V_0._context = _context;
			V_0._transaction = _transaction;
			V_1 = Mix.Cms.Lib.ViewModels.MixModulePosts.ReadViewModel.GetModulePostNavAsync(this.get_Id(), this.get_Specificulture(), V_0._context, V_0._transaction);
			if (V_1.get_IsSucceed())
			{
				V_3 = V_1.get_Data().GetEnumerator();
				try
				{
					while (V_3.MoveNext())
					{
						V_4 = V_3.get_Current();
						stackVariable114 = V_4;
						stackVariable116 = V_4.get_Module();
						if (stackVariable116 != null)
						{
							stackVariable117 = stackVariable116.get_Title();
						}
						else
						{
							dummyVar0 = stackVariable116;
							stackVariable117 = null;
						}
						if (stackVariable117 == null)
						{
							dummyVar1 = stackVariable117;
							stackVariable117 = V_4.get_Description();
						}
						stackVariable114.set_Description((string)stackVariable117);
						V_4.set_Specificulture(this.get_Specificulture());
						stackVariable121 = V_4;
						stackVariable123 = V_4.get_Module();
						if (stackVariable123 != null)
						{
							stackVariable124 = stackVariable123.get_ImageUrl();
						}
						else
						{
							dummyVar2 = stackVariable123;
							stackVariable124 = null;
						}
						if (stackVariable124 == null)
						{
							dummyVar3 = stackVariable124;
							stackVariable124 = V_4.get_Image();
						}
						stackVariable121.set_Image((string)stackVariable124);
					}
				}
				finally
				{
					((IDisposable)V_3).Dispose();
				}
				this.set_Modules(V_1.get_Data());
				this.get_Modules().ForEach(new Action<Mix.Cms.Lib.ViewModels.MixModulePosts.ReadViewModel>(V_0.u003cLoadParentModulesu003eb__0));
			}
			stackVariable18 = ViewModelBase<MixCmsContext, MixModule, Mix.Cms.Lib.ViewModels.MixModules.ReadListItemViewModel>.Repository;
			V_5 = Expression.Parameter(System.Type.GetTypeFromHandle(//