Click or drag to resize

ContextHolder Class

Holds a data context to specify the context to use on the presentation side.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationContextHolder

Namespace:  Slash.Unity.DataBind.Core.Presentation
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class ContextHolder : MonoBehaviour

The ContextHolder type exposes the following members.

Constructors
  NameDescription
Public methodContextHolder
Initializes a new instance of the ContextHolder class
Top
Properties
  NameDescription
Public propertyContext
Data context.
Public propertyContextType
Type of context to create on startup.
Public propertyCreateContext
Indicates if a context should be created from the specified context type.
Public propertyPath
Path from parent to the context. Used to resolve relative paths.
Top
Methods
  NameDescription
Protected methodAwake
Unity callback.
Protected methodNotifyContextOperatorsAboutContextChange
Notifies the context operators which depend on this context holder about a context change.
Protected methodOnContextChanged
Called when the context of this holder changed.
Public methodSetContext
Sets the context and its path from the parent to the context.
Top
Events
  NameDescription
Public eventContextChanged
Called when the context of this holder changed.
Top
See Also