CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.State.Session Class Reference

Per-user session data. The values must be serializable via MobileFormatter. More...

Inheritance diagram for Csla.State.Session:
Csla.Core.MobileDictionary< K, V > Csla.Serialization.Mobile.IMobileObject

Public Member Functions

void Touch ()
 Indicate that the session object has been changed.
Public Member Functions inherited from Csla.Core.MobileDictionary< K, V >
 MobileDictionary ()
 Creates an instance of the type.
 MobileDictionary (int capacity)
 Creates an instance of the object based on the supplied dictionary, whose elements are copied to the new dictionary.
 MobileDictionary (IEqualityComparer< K > comparer)
 Creates an instance of the object based on the supplied dictionary, whose elements are copied to the new dictionary.
 MobileDictionary (Dictionary< K, V > dict)
 Creates an instance of the object based on the supplied dictionary, whose elements are copied to the new dictionary.
bool Contains (K key)
 Gets a value indicating whether the dictionary contains the specified key value.

Protected Member Functions

virtual void OnPropertyChanged (string propertyName)
 Raise PropertyChanged event.
Protected Member Functions inherited from Csla.Core.MobileDictionary< K, V >
virtual void GetState (SerializationInfo info)
 Add property values to the serialization stream.
virtual void SetState (SerializationInfo info)
 Set property values from serialization stream.

Properties

long LastTouched = DateTimeOffset.UtcNow.ToUnixTimeSeconds() [get]
 Gets or sets a value indicating the last time (UTC) this object was interacted with.

Events

PropertyChangedEventHandler? PropertyChanged
 Event raised when a property has changed.

Detailed Description

Per-user session data. The values must be serializable via MobileFormatter.

Member Function Documentation

◆ OnPropertyChanged()

virtual void Csla.State.Session.OnPropertyChanged ( string propertyName)
inlineprotectedvirtual

Raise PropertyChanged event.

Parameters
propertyName
Exceptions
ArgumentNullExceptionpropertyName is null.

◆ Touch()

void Csla.State.Session.Touch ( )
inline

Indicate that the session object has been changed.

Property Documentation

◆ LastTouched

long Csla.State.Session.LastTouched = DateTimeOffset.UtcNow.ToUnixTimeSeconds()
get

Gets or sets a value indicating the last time (UTC) this object was interacted with.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler? Csla.State.Session.PropertyChanged

Event raised when a property has changed.


The documentation for this class was generated from the following file: