Beispiel #1
0
 /// <inheritdoc />
 public IReadOnlyCollection <ModuleHelpData> GetModuleHelpData()
 => LazyInitializer.EnsureInitialized(ref _cachedHelpData, () =>
                                      _commands.Modules
                                      .Where(x => !x.Attributes.Any(attr => attr is HiddenFromHelpAttribute))
                                      .Select(x => ModuleHelpData.FromModuleInfo(x))
                                      .ToArray());