コード例 #1
0
 /// <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));
 }
コード例 #2
0
 internal SchemaMetadataBuilder()
 {
     _conventions = RedisearchConventions.DefaultConventions;
     _propertyMetadataBuilders = new Dictionary <string, PropertyMetadataBuilder>(GetAllProperties());
 }