public void Expand(Dictionary <string, ApiReferenceBuildOutput> references, string[] supportedLanguages) { if (_needExpand) { _needExpand = false; Parameters?.ForEach(p => p.Expand(references, supportedLanguages)); TypeParameters?.ForEach(t => t.Expand(references, supportedLanguages)); Return?.Expand(references, supportedLanguages); } }
public void Expand(Dictionary <string, ApiReferenceBuildOutput> references, string[] supportedLanguages) { if (!_isExpanded) { Parameters?.ForEach(p => p.Expand(references, supportedLanguages)); TypeParameters?.ForEach(t => t.Expand(references, supportedLanguages)); Return?.Expand(references, supportedLanguages); _isExpanded = true; } }