Class SynchronizedIsolatedStorageDebouncer<TInstance, TKey>
This instance of a Telerik.
Note the global named Mutex is shared for all users, while the file access is user owned. This means that multiple users running on the same machine may wait each other for access, but they will use separate time table files.
Inheritance
Inherited Members
Namespace: Telerik.CallHome.Debouncing
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class SynchronizedIsolatedStorageDebouncer<TInstance, TKey> : SynchronizedStreamDebouncer<TInstance, TKey>, IDebouncer<TInstance>, IClearableDebouncer
Type Parameters
TInstance
The type of the instances that are debounced. |
TKey
A serializable lookup key generated for the filtered instances. |
Constructors
SynchronizedIsolatedStorageDebouncer()
Declaration
protected SynchronizedIsolatedStorageDebouncer()
Methods
AcquireStream()
Tries to open the storage stream and lock exclusively for read/write. Throws if the stream is currently acquired elsewhere.
Declaration
protected override Stream AcquireStream()
Returns
System.
|
Overrides
AcquireSynchronizationLock()
Blocks the execution of the current thread until the synchronization lock can be acquired.
Returns a System.
Declaration
protected override IDisposable AcquireSynchronizationLock()
Returns
System.
|
Overrides
Deserialize(Stream)
Deserializes the stream into dictionary of time records.
Declaration
protected override IDictionary<TKey, DateTime> Deserialize(Stream stream)
Parameters
System.
|
Returns
System.
|
Overrides
Serialize(Stream, IEnumerable<KeyValuePair<TKey, DateTime>>)
Serializes the time record dictionary into a stream.
Declaration
protected override void Serialize(Stream stream, IEnumerable<KeyValuePair<TKey, DateTime>> table)
Parameters
System.
|
System.
|