using System; namespace dotless.Core.Utils { public static class ObjectExtensions { /// /// Helper extension for chaining intermediate actions into expressions. /// Invokes on and then returns obj. /// /// /// /// /// public static T Do(this T obj, Action action) { action(obj); return obj; } } }