Interface IAtom
Interface that defines an Atom. Atoms can be used to signal Cortex.Net that some observable data source has been observed or changed. And Cortex.Net will signal the atom whenever it is used or no longer in use.
Inherited Members
Namespace: Cortex.Net
Assembly: Cortex.Net.dll
Syntax
public interface IAtom : IObservable, IDependencyNode
Methods
| Improve this Doc View SourceReportChanged()
Invoke this method after this atom has changed to signal Cortex.Net that all its observers should invalidate.
Declaration
void ReportChanged()
ReportObserved()
Invoke this method to notify Cortex.Net that your atom has been used somehow.
Declaration
bool ReportObserved()
Returns
Type | Description |
---|---|
System.Boolean | Returns true if there is currently a reactive context. |