static ArgumentParameterExpressionBuilder() { _getArgumentValue = PureContextType.GetMethods().First(IsArgumentValueMethod) !; Debug.Assert(_getArgumentValue is not null, "ArgumentValue method is missing."); _getArgumentLiteral = PureContextType.GetMethods().First(IsArgumentLiteralMethod); Debug.Assert(_getArgumentValue is not null, "ArgumentLiteral method is missing."); _getArgumentOptional = PureContextType.GetMethods().First(IsArgumentOptionalMethod); Debug.Assert(_getArgumentValue is not null, "ArgumentOptional method is missing.");
static SchemaParameterExpressionBuilder() { _schema = PureContextType.GetProperty(nameof(IPureResolverContext.Schema)) !; Debug.Assert(_schema is not null, "Schema property is missing."); }
static ParentParameterExpressionBuilder() { _getParentMethod = PureContextType.GetMethods().First(IsParentMethod); Debug.Assert(_getParentMethod is not null, "Parent method is missing.");
static ServiceParameterExpressionBuilder() { _getServiceMethod = PureContextType.GetMethods().First(IsServiceMethod);