public object CommandDocumentation(string name) { if (string.IsNullOrEmpty(name)) { return(Command <TAggregate> .KnownTypes .Select(CommandDocument.For)); } return(CommandDocument.For(Command <TAggregate> .Named(name))); }