C# Class Foundation.Databinding.ListBinder

Inheritance: BindingBase
ファイルを表示 Open project: NVentimiglia/Unity3d-Foundation

Public Properties

Property Type Description
DelayLoad bool
LoadingMask UnityEngine.GameObject
OneTime bool
Prefab UnityEngine.GameObject
SetAsFirstSibling bool

Protected Properties

Property Type Description
Children List
DataList IObservableCollection
Index int
IsInit bool
IsLoaded bool
RectTransform UnityEngine.RectTransform
RectTransform2 UnityEngine.RectTransform

Public Methods

Method Description
Bind ( object data ) : void

Bind the ObservableCollection

Init ( ) : void

Protected Methods

Method Description
UpdateSource ( object value ) : void

Private Methods

Method Description
AddAsync ( IEnumerable objects ) : IEnumerator
Awake ( ) : void
BindAsync ( object data ) : IEnumerator
GetNext ( ) : GameObject
OnAdd ( object obj ) : void
OnClear ( ) : void
OnInsert ( int location, object obj ) : void
OnRemove ( object obj ) : void
Recycle ( GameObject instance ) : void

Method Details

Bind() public method

Bind the ObservableCollection
public Bind ( object data ) : void
data object
return void

Init() public method

public Init ( ) : void
return void

UpdateSource() protected method

protected UpdateSource ( object value ) : void
value object
return void

Property Details

Children protected_oe property

protected List Children
return List

DataList protected_oe property

protected IObservableCollection DataList
return IObservableCollection

DelayLoad public_oe property

public bool DelayLoad
return bool

Index protected_oe property

protected int Index
return int

IsInit protected_oe property

protected bool IsInit
return bool

IsLoaded protected_oe property

protected bool IsLoaded
return bool

LoadingMask public_oe property

Shown when loading
public GameObject,UnityEngine LoadingMask
return UnityEngine.GameObject

OneTime public_oe property

True if this is a static list. The list will only update once.
public bool OneTime
return bool

Prefab public_oe property

Child Item Template
The Prefab (child template) should have a binding context set to Mock binding
public GameObject,UnityEngine Prefab
return UnityEngine.GameObject

RectTransform protected_oe property

protected RectTransform,UnityEngine RectTransform
return UnityEngine.RectTransform

RectTransform2 protected_oe property

protected RectTransform,UnityEngine RectTransform2
return UnityEngine.RectTransform

SetAsFirstSibling public_oe property

Bottom Up as opposed to Top Down
public bool SetAsFirstSibling
return bool