AIJsonSchemaCreateContext 구조체

정의

형식 그래프 내의 JSON 스키마가 생성되는 컨텍스트를 정의합니다.

public value class AIJsonSchemaCreateContext
public readonly struct AIJsonSchemaCreateContext
type AIJsonSchemaCreateContext = struct
Public Structure AIJsonSchemaCreateContext
상속
AIJsonSchemaCreateContext

설명

이 구조체는 메서드에 의해 사용자가 제공한 TransformSchemaNode 콜백에 CreateJsonSchema(Type, String, Boolean, Object, JsonSerializerOptions, AIJsonSchemaCreateOptions) 전달되며 직접 인스턴스화할 수 없습니다.

속성

Name Description
BaseTypeInfo

파생 형식으로 생성된 경우 다형 기본 형식에 대한 형식 정보를 가져옵니다.

DeclaringType

처리 중인 속성 또는 매개 변수의 선언 형식을 가져옵니다.

ParameterAttributeProvider

ICustomAttributeProvider 함께 제공되는 PropertyInfo생성자 매개 변수와 연결된 생성자 매개 변수를 가져옵니다.

Path

현재 생성 중인 스키마 문서의 경로를 가져옵니다.

PropertyAttributeProvider

ICustomAttributeProvider 처리 중인 속성 또는 필드에 해당하는 값을 가져옵니다.

PropertyInfo

속성에 JsonPropertyInfo 대해 스키마가 생성되는 경우를 가져옵니다.

TypeInfo

JsonTypeInfo 처리 중인 형식에 대한 값을 가져옵니다.

메서드

Name Description
GetCustomAttribute<TAttribute>(Boolean)

지정된 스키마 노드 컨텍스트에 적용되는 지정된 형식의 사용자 지정 특성을 검색합니다.

적용 대상