public bool TryGetDirective(string name, out DirectiveType directiveType) { return(_directives.TryGetValue(name, out directiveType)); }
public DirectiveInstance(DirectiveType directiveType, Dictionary <string, object?>?argumentValues = null) { Type = directiveType ?? throw new ArgumentNullException(nameof(directiveType)); _arguments = argumentValues ?? new Dictionary <string, object?>(); }