◆ Add()
IDataKeyBuilder FiftyOne.Pipeline.Core.Data.DataKeyBuilder.Add | ( | int | order, |
string | keyName, | ||
object | keyValue | ||
) |
Add a key
- Parameters
-
- order - The order of precedence with lower values indicating that a key is more likely to provide differentiation between instances.
- keyName - The name of the key. This is used to order keys when they have the same order of precedence.
- keyValue - The value of the key.
- Returns
- This instance of the DataKeyBuilder.
Implements FiftyOne.Pipeline.Core.Data.IDataKeyBuilder.
◆ Build()
DataKey FiftyOne.Pipeline.Core.Data.DataKeyBuilder.Build ( ) Create and return a new DataKey based on the keys that have been added.
- Returns
- A new DataKey instance that can be used as a key combining the values that have been supplied to this builder.
Implements FiftyOne.Pipeline.Core.Data.IDataKeyBuilder.