public static string GetGenericTitle(this IObjVerEx obj, string format, int property_def_title_id, int property_def_id)
        {
            string old_property = null;
            string new_property = null;

            if (!obj.objVerEx.HasProperty(property_def_title_id) || !obj.objVerEx.HasProperty(property_def_id))
            {
                return(null);
            }

            old_property = obj.objVerEx.PreviousVersion.GetPropertyText(property_def_id);
            old_property = string.IsNullOrWhiteSpace(old_property) ? "" : string.Format(format, old_property);
            new_property = obj.objVerEx.GetPropertyText(property_def_id);
            new_property = string.IsNullOrWhiteSpace(new_property) ? "" : string.Format(format, new_property);

            return(obj.GetGenericTitle(property_def_title_id, format, old_property, new_property));
        }
 public static string GetGenericTitle(this IObjVerEx obj, int property_def_title_id, string format, string new_text)
 {
     return(obj.GetGenericTitle(property_def_title_id, format, new_text, new_text));
 }