Click or drag to resize

UserSettingsBaseTSettings Class

Base class for managing user-specific settings in ASP.NET applications. This implementation makes use of the ASP.NET session state functionality to buffer the settings in order to avoid unneccessary database roundtrips.
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Web.UtilsUserSettingsBaseTSettings

Namespace:  PDTec.IceNet.Web.Utils
Assembly:  PDTec.IceNet.Web (in PDTec.IceNet.Web.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
[SerializableAttribute]
public abstract class UserSettingsBase<TSettings>
where TSettings : new(), Object

Type Parameters

TSettings
The custom user settings type. This type must be serializable, cloneable and sealed.

The UserSettingsBaseTSettings type exposes the following members.

Constructors
  NameDescription
Protected methodUserSettingsBaseTSettings
Initializes a new instance of the UserSettingsBaseTSettings class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoad
Loads the user settings from the repository or, if available, from session state.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodReadFromRepository
Reads user settings data from the repository.
Public methodSave
Saves the user settings to the repository.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWriteToRepository
Writes the user settings to the repository.
Top
See Also