Table of Contents

Interface IValue<T>

Namespace
The.Values
Assembly
Instagile.dll

represents storage of or access to change-tracked data

public interface IValue<T> : IHasChanges, INotifyValueChanged

Type Parameters

T
Inherited Members
Extension Methods

Properties

HasValue

Indicates whether the underlying value of type T has a value

bool HasValue { get; }

Property Value

bool

IsDefaulted

true if the data is a system default rather than user-entered

bool IsDefaulted { get; }

Property Value

bool

Value

read/write underlying data

T Value { get; set; }

Property Value

T

Methods

GetText()

A textual representation of the underlying value, rather than the IValue itself.

string GetText()

Returns

string

SetDefaulted()

clear any user-entered data and return to system defaults

void SetDefaulted()

ToString()

[Obsolete("Deprecated: Please use GetText() instead.")]
string ToString()

Returns

string