C# Class Foundation.Databinding.BindingBase

Inheritance: UnityEngine.MonoBehaviour, IBindingElement
Afficher le fichier Open project: NVentimiglia/Unity3d-Foundation Class Usage Examples

Méthodes publiques

Свойство Type Description
BindingProxy UnityEngine.GameObject
DebugMode bool

Protected Properties

Свойство Type Description
_infoCache BindingInfo[]

Méthodes publiques

Méthode Description
GetBindingInfos ( ) : BindingInfo[]

Returns binding listeners

Init ( ) : void

And setup logic here

Add Bindings

OnBindingMessage ( ObservableMessage m ) : void

Handle all change notification here

OnBindingRefresh ( ) : void

Méthodes protégées

Méthode Description
BeforeModelChanged ( ) : void

Any cleanup logic goes here

GetValue ( string memberName ) : object

helper. Calls the GetValue method on the Model

GetValue ( string memberName, object argument ) : object

helper. Calls the GetValue method on the Model

OnApplicationQuit ( ) : void

Handles UnityEngine ApplicationQuit event

OnDisable ( ) : void

release from _root

OnEnable ( ) : void

find _root and bind

OnModelChanged ( ) : void

Any setup logic for the model goes here

SetValue ( string memberName, object argument ) : void

helper. Calls the SetValue method on the model

Private Methods

Méthode Description
DebugInfo ( ) : void
FindContext ( ) : void

Method Details

BeforeModelChanged() protected méthode

Any cleanup logic goes here
protected BeforeModelChanged ( ) : void
Résultat void

GetBindingInfos() public méthode

Returns binding listeners
public GetBindingInfos ( ) : BindingInfo[]
Résultat BindingInfo[]

GetValue() protected méthode

helper. Calls the GetValue method on the Model
protected GetValue ( string memberName ) : object
memberName string
Résultat object

GetValue() protected méthode

helper. Calls the GetValue method on the Model
protected GetValue ( string memberName, object argument ) : object
memberName string
argument object
Résultat object

Init() public abstract méthode

And setup logic here
Add Bindings
public abstract Init ( ) : void
Résultat void

OnApplicationQuit() protected méthode

Handles UnityEngine ApplicationQuit event
protected OnApplicationQuit ( ) : void
Résultat void

OnBindingMessage() public méthode

Handle all change notification here
public OnBindingMessage ( ObservableMessage m ) : void
m ObservableMessage
Résultat void

OnBindingRefresh() public méthode

public OnBindingRefresh ( ) : void
Résultat void

OnDisable() protected méthode

release from _root
protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

find _root and bind
protected OnEnable ( ) : void
Résultat void

OnModelChanged() protected méthode

Any setup logic for the model goes here
protected OnModelChanged ( ) : void
Résultat void

SetValue() protected méthode

helper. Calls the SetValue method on the model
protected SetValue ( string memberName, object argument ) : void
memberName string
argument object
Résultat void

Property Details

BindingProxy public_oe property

For binding to another object within the ui hierarchy
For Master / Details situations.
public GameObject,UnityEngine BindingProxy
Résultat UnityEngine.GameObject

DebugMode public_oe property

Prints Debug messages. This can get spammy.
public bool DebugMode
Résultat bool

_infoCache protected_oe property

protected BindingInfo[] _infoCache
Résultat BindingInfo[]