Class TwainSourceCacheable
Object containing and caching a list of twain sources
Inheritance
System.Object
TwainSourceCacheable
Namespace: Simplic.Twain
Assembly: Simplic.Twain.dll
Syntax
public class TwainSourceCacheable : ICacheable
Constructors
| Improve this Doc View SourceTwainSourceCacheable(IList<TwainSource>)
Create and cache list with twain sources
Declaration
public TwainSourceCacheable(IList<TwainSource> sources)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<TwainSource> | sources |
Fields
| Improve this Doc View SourceTWAIN_SOURCE_CACHEKEY
Declaration
public const string TWAIN_SOURCE_CACHEKEY = "TWAIN_SOURCES_CACHEABLE"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceKey
Unique key
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
TwainSources
List of all available twain sources
Declaration
public IList<TwainSource> TwainSources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TwainSource> |
Methods
| Improve this Doc View SourceOnRemove()
Remove sources
Declaration
public void OnRemove()