API ReferenceSandbox.Bind

Builderclass

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" );

objectBuilder
Namespace
Sandbox.Bind
Assembly
Sandbox.Bind
Declaration
public sealed struct Sandbox.Bind.Builder

Methods12

Showing 12 methods

public Sandbox.Bind.Link FromDictionary(System.Collections.Generic.Dictionary`2<K,V> dict, K key)PUBLIC

ParameterTypeDescription
dictDictionary<K,V>
keyK
Returns:Link

public Sandbox.Bind.Link FromObject(object obj)PUBLIC

ParameterTypeDescription
objobject
Returns:Link

public Sandbox.Bind.Builder ReadOnly(bool makeReadOnly = True)PUBLIC

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)

ParameterTypeDescription
makeReadOnly = Truebool
Returns:Builder

On this page