StateDescriptor<T> Class

Definition

Base proxy class for other classes which wish to have save and restore functionality.

generic <typename T>
public ref class StateDescriptor abstract
template <typename T>
[Windows::Foundation::Metadata::WebHostHidden]
class StateDescriptor abstract
[System.Serializable]
public abstract class StateDescriptor<T>
[<System.Serializable>]
type StateDescriptor<'T> = class
Public MustInherit Class StateDescriptor(Of T)

Type Parameters

T

There are no restrictions on T.

Inheritance
StateDescriptor<T>
Derived
Attributes

Constructors

StateDescriptor<T>()

Creates a new instances of the StateDescriptor class and creates a new GUID.

StateDescriptor<T>(String)

Constructor overload to provide name.

Properties

Id

Gets the global unique identification number.

Name

Gets or sets the friendly display name.

Methods

RestoreState(T)

Restores the state of subject to the saved state.

SaveState(T)

Saves a snapshot of the subject's current state.

Applies to