Change (Constructor)

Summary

Constructs an object representing an individual change.

Usage

Change(string key, System.Object value)

Parameters

key

The unique key to identify the type of change.

value

The value to associate with the change.

Description

Constructs an object representing an individual change.

Examples

Basic Usage
1
2
3
4
5
6
7
8
9
import Altitude.Frontend;
 
class Login : Model
{
    public void validateEmail() {
        bool result = isEmail(email);
        this.updateOnly([ new Change("validate-email", result) ]);
    }
}

Share

HTML | BBCode | Direct Link