MonoMobile.Forms.FormDialogViewController.Execute C# (CSharp) 메소드

Execute() 공개 메소드

public Execute ( ControllerAction action, Element el, System.Action completed ) : void
action ControllerAction
el MonoTouch.Dialog.Element
completed System.Action
리턴 void
		public void Execute(ControllerAction action, Element el, Action completed){
			action.Execute(this, (ActivityElement)el, completed);	
		}
		

Usage Example

예제 #1
0
        public static Action asAction(this JsonObject json, FormDialogViewController dvc)
        {
            if (json.ContainsKey(Constants.Action))
            {
                string actionName = json[Constants.Action];
                return(() => {
                    ControllerAction act;
                    if (json.ContainsKey(Constants.NavigateTo))
                    {
                        act = new ControllerAction(actionName, json[Constants.NavigateTo]);
                    }
                    else
                    {
                        act = new ControllerAction(actionName);
                    }
                    dvc.Execute(act, null, () => {});
                });
            }

            if (json.ContainsKey(Constants.NavigateTo))
            {
                string file = json[Constants.NavigateTo];
                return(() => {
                    dvc.NavigateTo(file);
                });
            }

            return(null);
        }
All Usage Examples Of MonoMobile.Forms.FormDialogViewController::Execute