BindingScope

Namespace: uModUtilities

Assembly: uMod.Core.dll

Inheritance Object BindingScope

Implements IBindingScope

Summary

BindingScope class

Constructors

Name

Summary

BindingScope (Type[])

Create a binding scope object with the specified context types

Properties

Name

Summary

BindCallback

Gets a callback to determine if binding scope applies to context

BindCallbackWithParameter

Gets a callback to determine if binding scope applies to context

BindMethod

Gets a method to determine if binding scope applies to context

BindMethodParameters

Gets an array of parameters used by the bind method

BindMethodTarget

Gets the target of the bound method

BoundObject

Gets the object that binding scope should return

Context

List of types where this binding scope applies

IsAnonymousMethod

Check if bound method is anonymous

NeedsType

Gets the type that depends on the context

Methods

Name

Summary

Bind (Object)

Bind the object that binding scope should return

Bind (Func<Object, Object>)

Assign the specified callback to determine if object applies to context

Bind (Func<Object>)

Assign the specified callback to determine if object applies to context

Bind<T,T1> (Func<T, T1>)

Assign the specified callback to determine if object applies to context

Bind<T> (Func<T>)

Assign the specified callback to determine if object applies to context

Bind (MethodInfo)

Assign the specified method to determine if object applies to context

Needs (Type)

Assign the type that depends on the context