public static void SetPropertiesOnRecord()

in Elastic.SemanticKernel.Connectors.Elasticsearch/Internal/Helpers/VectorStoreRecordMapping.cs [88:97]


    public static void SetPropertiesOnRecord<TRecord>(
        TRecord record,
        IEnumerable<KeyValuePair<PropertyInfo, object?>> propertiesInfoWithValues)
            where TRecord : class
    {
        foreach (var propertyInfoWithValue in propertiesInfoWithValues)
        {
            propertyInfoWithValue.Key.SetValue(record, propertyInfoWithValue.Value);
        }
    }