|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
| C# |
|
|---|---|
[] public class SlidingTime |
|
| Visual Basic (Declaration) |
|
|---|---|
<> _ Public Class SlidingTime |
|
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
|
|
SlidingTime |
Create an instance of this class with the timespan for expiration.
|
Public Methods
| Name | Description | |
|---|---|---|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
HasExpired |
Specifies if item has expired or not.
|
|
|
Initialize |
Used to set the initial value of TimeLastUsed. This method is invoked during the reinstantiation of
an instance from a persistent store.
|
|
|
Notify |
Notifies that the item was recently used.
|
|
|
ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
|
|
Finalize | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
|
|
ItemSlidingExpiration |
Returns sliding time window that must be exceeded for expiration to occur
|
|
|
TimeLastUsed |
Returns time that this object was last touched
|