MonoMobile.Forms.FormDialogViewController.GetAllValues C# (CSharp) Method

GetAllValues() public method

public GetAllValues ( ) : string>.Dictionary
return string>.Dictionary
		public Dictionary<string, string> GetAllValues(){
			_fetch();
			return new Dictionary<string, string>(_elementValues);
		}
		

Usage Example

		public override void Execute (FormDialogViewController controller, Element element, Action completed)
		{
			Console.WriteLine("ShowValuesInConsole");
			ThreadPool.QueueUserWorkItem( delegate { 
				
				System.Threading.Thread.Sleep(2000);
				var values = controller.GetAllValues();
				foreach (var v in values){
					Console.WriteLine("Value => {0} - {1}", v.Key, v.Value);	
				}
				
				element.Caption = "Action completed!";
				completed();
			} );
			
		}