MonoTouch.Dialog.JsonElement.LoadRadio C# (CSharp) Method

LoadRadio() static private method

static private LoadRadio ( System.Json.JsonObject json, object data ) : Element
json System.Json.JsonObject
data object
return Element
		static Element LoadRadio (JsonObject json, object data)
		{
			var caption = GetString (json, "caption");
			var group = GetString (json, "group");

			if (group != null)
				return new RadioElement (caption, group);
			else
				return new RadioElement (caption);
		}