◆ PrePackagedPipelineBuilderBase()
| FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.PrePackagedPipelineBuilderBase | ( | ILoggerFactory | loggerFactory | ) |
Constructor
- Parameters
-
- loggerFactory -
Member Function Documentation
◆ UseLazyLoading() [1/5]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading ( ) Enable lazy loading of results.
Uses a default timeout of 5 seconds.
- Returns
- This builder instance.
◆ UseLazyLoading() [2/5]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading ( int timeoutMilliseconds ) Enable lazy loading of results.
- Parameters
-
- timeoutMilliseconds - The timeout to use when attempting to access lazy-loaded values. Default is 5 seconds.
- Returns
- This builder instance.
◆ UseLazyLoading() [3/5]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading ( TimeSpan timeout ) Enable lazy loading of results.
- Parameters
-
- timeout - The timeout to use when attempting to access lazy-loaded values. Default is 5 seconds.
- Returns
- This builder instance.
◆ UseLazyLoading() [4/5]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading ( CancellationToken cancellationToken ) Enable lazy loading of results.
Uses a default timeout of 5 seconds.
- Parameters
-
- cancellationToken - The cancellation token to observe while attempting to access lazy-loaded values.
- Returns
- This builder instance.
◆ UseLazyLoading() [5/5]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading ( TimeSpan timeout, CancellationToken cancellationToken ) Enable lazy loading of results.
- Parameters
-
- timeout - The timeout to use when attempting to access lazy-loaded values. Default is 5 seconds.
- cancellationToken - The cancellation token to observe while attempting to access lazy-loaded values.
- Returns
- This builder instance.
◆ UseResultsCache() [1/2]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseResultsCache ( ) Enable caching of results.
Uses a default cache size of 1000.
- Returns
- This builder instance.
◆ UseResultsCache() [2/2]
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseResultsCache ( int size ) Enable caching of results.
- Parameters
-
- size - The maximum number of results to hold in the device detection cache. Default is 1000.
- Returns
- This builder instance.
Property Documentation
◆ LazyLoading
bool FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.LazyLoading = false get set protectedTrue if lazy loading is enabled for the relevant engine(s).
False if not.
◆ LazyLoadingCancellationToken
CancellationToken FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.LazyLoadingCancellationToken = default(CancellationToken) get set protectedThe cancellation token to be used by the lazy loading feature.
◆ LazyLoadingTimeout
TimeSpan FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.LazyLoadingTimeout = TimeSpan.FromSeconds(5) get set protectedThe timeout to be used by the lazy loading feature.
◆ ResultsCache
bool FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.ResultsCache = false get set protectedTrue if a results cache should be added to the relevant engine(s).
False if not.
◆ ResultsCacheSize
int FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.ResultsCacheSize = 1000 get set protectedThe cache size to use for the results cache
