public static SortEnumTypeDescriptor FromSchemaType( IDescriptorContext context, Type schemaType, string?scope) { SortEnumTypeDescriptor descriptor = New(context, schemaType, scope); return(descriptor); }
protected override EnumTypeDefinition CreateDefinition( ITypeDiscoveryContext context) { var descriptor = SortEnumTypeDescriptor.FromSchemaType( context.DescriptorContext, GetType(), context.Scope); _configure !(descriptor); _configure = null; return(descriptor.CreateDefinition()); }