/// <summary> /// Sets a series of conventions used in the serialization and schema metadata creation process. /// </summary> /// <param name="conventions"></param> public void SetConventions(IRedisearchConventions conventions) { _conventions = conventions ?? throw new ArgumentNullException(nameof(conventions)); }
internal SchemaMetadataBuilder() { _conventions = RedisearchConventions.DefaultConventions; _propertyMetadataBuilders = new Dictionary <string, PropertyMetadataBuilder>(GetAllProperties()); }