Api Sandbox Bind Builder
struct

Builder

public sealed struct Builder

A helper to create binds between two properties (or whatever you want) Example usage: set "BoolValue" from value of "StringValue" BindSystem.Build.Set( this, "BoolValue" ).From( this, "StringValue" );

Methods

Builder ReadOnly(Boolean makeReadOnly = True)

Makes the bind link one way. The system will not try to write to the target/right hand property. (The one you set via "From" methods)

Builder Set(T obj, String targetName, Action onChanged = null)
Builder Set(T obj, Func<U> read, Action<U> write)
Builder Set(Proxy binding)
Link From(T obj, PropertyInfo target)
Link From(T obj, String targetName)
Link From(Func<T> read, Action<T> write)
Link From(Object sourceObject, Func<T> read, Action<T> write)
Link From(T obj, Func<T, V>> propertyName)
Link From(Proxy source)
Link FromObject(Object obj)
Link FromDictionary(Dictionary<K, V> dict, K key)
Assembly: Sandbox.Bind Namespace: Sandbox.Bind Full Name: Sandbox.Bind.Builder