private UCItem CreateReloadButton(int numberToReload) { ShowMoreCommentsUC showMoreCommentsUc = new ShowMoreCommentsUC(); double num = 54.0; showMoreCommentsUc.Height = num; Action action = (Action)(() => this.reloadButtonItem_Tap(null, (EventArgs)null)); showMoreCommentsUc.OnClickAction = action; string textFor = this.GetTextFor(numberToReload); showMoreCommentsUc.Text = textFor; this._showMoreCommentsUC = showMoreCommentsUc; this._reloadButtonItem = new UCItem(480.0, new Thickness(), (Func <UserControlVirtualizable>)(() => (UserControlVirtualizable)this._showMoreCommentsUC), (Func <double>)(() => 54.0), (Action <UserControlVirtualizable>)null, 0.0, false); return(this._reloadButtonItem); }
private UCItem CreateReloadButton(int numberToReload) { ShowMoreCommentsUC showMoreCommentsUc = new ShowMoreCommentsUC(); double num = 54.0; ((FrameworkElement)showMoreCommentsUc).Height = num; Action action = (Action)(() => this.reloadButtonItem_Tap(null, null)); showMoreCommentsUc.OnClickAction = action; string textFor = this.GetTextFor(numberToReload); showMoreCommentsUc.Text = textFor; this._showMoreCommentsUC = showMoreCommentsUc; // ISSUE: method pointer // ISSUE: reference to a compiler-generated field // ISSUE: reference to a compiler-generated field // ISSUE: reference to a compiler-generated field // ISSUE: method pointer this._reloadButtonItem = new UCItem(480.0, new Thickness(), (Func <UserControlVirtualizable>)(() => (UserControlVirtualizable)this._showMoreCommentsUC), (Func <double>)(() => 54.0), (Action <UserControlVirtualizable>)null, 0.0, false); return(this._reloadButtonItem); }