Detailed Description
Base class for element data instances that are generated by an IAspectEngine.
Modifies the indexer from the ElementDataBase base class to use the IMissingPropertyService to determine the reason that a requested key value is missing. For example, if the user has excluded the property at the configuration stage.
Inheritance diagram for FiftyOne.Pipeline.Engines.Data.AspectDataBase:
Collaboration diagram for FiftyOne.Pipeline.Engines.Data.AspectDataBase:
Public Member Functions
| AspectDataBase (ILogger< AspectDataBase > logger, IFlowData flowData, IAspectEngine engine)
|
| AspectDataBase (ILogger< AspectDataBase > logger, IFlowData flowData, IAspectEngine engine, IMissingPropertyService missingPropertyService)
|
| AspectDataBase (ILogger< AspectDataBase > logger, IFlowData flowData, IAspectEngine engine, IMissingPropertyService missingPropertyService, IDictionary< string, object > dictionary)
|
|
| ElementDataBase (ILogger< ElementDataBase > logger, IFlowData flowData)
|
| ElementDataBase (ILogger< ElementDataBase > logger, IFlowData flowData, IDictionary< string, object > dictionary)
|
|
| DataBase (ILogger< DataBase > logger)
Constructor Creates a DataBase instance with a non-thread-safe, case-insensitive dictionary. More...
|
| DataBase (ILogger< DataBase > logger, IDictionary< string, object > dictionary)
|
virtual IReadOnlyDictionary< string, object >
| AsDictionary ()
Get the data contained in this instance as an IReadOnlyDictionary<TKey, TValue>. More...
|
void
| PopulateFromDictionary (IDictionary< string, object > values)
Use the values in the specified dictionary to populate this data instance. More...
|
Protected Member Functions
override T
| GetAs< T > (string key)
Get the value associated with the specified key as the specified type. More...
|
virtual bool
| TryGetValue< T > (string key, out T value)
Get the value associated with the specified key. More...
|
IReadOnlyList< IAspectEngine >
| Engines [get]
The engine that generated this data instance. More...
|
Task
| ProcessTask [get]
If the engine is configured for lazy loading, this property returns a task that will complete once the engine has finished processing. More...
|
override object
| this[string key] [get]
get or set the specified value More...
|
|
IPipeline
| Pipeline [get, set]
|
|
virtual object
| this[string key] [get, set]
|
|
object
| this[string key] [get, set]
|
|
IPipeline
| Pipeline [get, set]
|