Preparing search index...
The search index is not available
@ask-ell/core
@ask-ell/core
Entity
Class Entity<EntityState>
Abstract
Type Parameters
EntityState
Implements
IEntity
<
EntityState
>
Index
Constructors
constructor
Properties
state
Methods
check
State
Validity
check
State
Validity
And
Throw
Error
get
Snapshot
update
And
Check
State
Validity
Constructors
constructor
new
Entity
<
EntityState
>
(
state
)
:
Entity
<
EntityState
>
Type Parameters
EntityState
Parameters
state
:
EntityState
Returns
Entity
<
EntityState
>
Properties
Private
state
state
:
EntityState
Methods
Abstract
check
State
Validity
check
State
Validity
(
newState
)
:
IResult
<
void
>
Parameters
newState
:
EntityState
Returns
IResult
<
void
>
Private
check
State
Validity
And
Throw
Error
check
State
Validity
And
Throw
Error
(
)
:
void
Returns
void
get
Snapshot
get
Snapshot
(
)
:
EntityState
Returns
EntityState
update
And
Check
State
Validity
update
And
Check
State
Validity
(
settingFunction
)
:
void
Parameters
settingFunction
:
(
(
oldState
)
=>
Partial
<
EntityState
>
)
(
oldState
)
:
Partial
<
EntityState
>
Parameters
oldState
:
EntityState
Returns
Partial
<
EntityState
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
state
check
State
Validity
check
State
Validity
And
Throw
Error
get
Snapshot
update
And
Check
State
Validity
@ask-ell/core
Loading...