Esempio n. 1
0
        public DependencyMethod <T> Call(Action <T> callback)
        {
            var dependency_method = new DependencyMethod <T>(callback);

            Methods.Add(dependency_method);

            return(dependency_method);
        }
Esempio n. 2
0
 private static void OnAnyPropertyInSubscriptionChanges(DependencyMethod <T> me, object object_that_changed)
 {
     me.callback((T)object_that_changed);
 }