public DependencyMethod <T> Call(Action <T> callback) { var dependency_method = new DependencyMethod <T>(callback); Methods.Add(dependency_method); return(dependency_method); }
private static void OnAnyPropertyInSubscriptionChanges(DependencyMethod <T> me, object object_that_changed) { me.callback((T)object_that_changed); }