void attempt_to_update_all_of_the_accessors(IEnumerable <MemberAccessor> accessors_to_update, object target) { accessors_to_update.each(accessor => { accessor.change_value_to(target, BlockThat.ignores_exceptions(() => this.dependency_registry.get_dependency_of(accessor.accessor_type))); }); }
public static bool is_not_a <T>(this object item) { return(BlockThat.ignores_exceptions(() => { var target = item.downcast_to <T>(); return false; }, true)); }