DeclarationBuilder

Class in Yarn.Compiler

Inherits from System.Object

Summary

Provides methods for constructing Declaration objects.

public class DeclarationBuilder

Remarks

To use this class, create an instance of it, and call the With -prefixed methods to set properties. When you're done, access the Declaration property to get the final, constructed Declaration .

Methods

Properties

Name
Description

Gets the Declaration instance constructed by this DeclarationBuilder .

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.