public virtual string GetRemoteCommand() { if (!HasRemoteCommand) { return(null); } return(string.IsNullOrEmpty(Filter?.RepositoryFilter) ? null /* makes no sense */ : $"list:{RegexFilter.Get(Filter.RepositoryFilter)}"); }
public string GetRemoteCommand() => string.IsNullOrEmpty(_repositoryFilter) ? "list:.*" /* show all with RegEx pattern ".*" */ : $"list:{RegexFilter.Get(_repositoryFilter)}";