private string GetLogName(LogAttribute logAttribute, string defaultName) { if (logAttribute.HasName) return logAttribute.Name; return defaultName; }
private string GetLogName(LogAttribute logAttribute, string defaultName) { if (logAttribute.HasName) { return(logAttribute.Name); } return(defaultName); }