PeerCastStation.UI.HTTP.JObjectExtension.TryGetThen C# (CSharp) Method

TryGetThen() static public method

static public TryGetThen ( this self, string property, Action action ) : void
self this
property string
action Action
return void
		static public void TryGetThen(this JObject self, string property, Action<JObject> action)
		{
			var v = self[property];
			if (v!=null && v.Type==JTokenType.Object) action((JObject)v);
		}

Same methods

JObjectExtension::TryGetThen ( this self, string property, Action action ) : void
JObjectExtension::TryGetThen ( this self, string property, Action action ) : void
JObjectExtension::TryGetThen ( this self, string property, Action action ) : void
JObjectExtension