RegisterFunction(string,Func<T1, T2, TResult>)

Method in Library

Summary

Registers a new function that returns a value, which can be called from a Yarn program.

public void RegisterFunction<T1, T2, TResult>(string name, Func<T1, T2, TResult> implementation)

Parameters

Type Parameters

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.