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