public void WriteInformation(string source, object data) { if (!string.IsNullOrEmpty(source)) { var rec = new InformationRecord(data, source); _cmd?.WriteInformation(rec); } }