A game about forced loneliness, made by TACStudios
1using System;
2using UnityEditor.Scripting.ScriptCompilation;
3
4namespace UnityEditor.TestTools.TestRunner.GUI.TestAssets
5{
6 /// <summary>
7 /// Provides a wrapper for a Custom Script Assembly and exposes its basic properties.
8 /// </summary>
9 internal interface ICustomScriptAssembly
10 {
11 /// <summary>
12 /// Checks if the Custom Script Assembly is referencing the provided precompiled library.
13 /// </summary>
14 /// <param name="libraryFilename">The name of the precompiled library reference to be checked.</param>
15 /// <returns>True if the assembly references the provided precompiled library; false otherwise.</returns>
16 bool HasPrecompiledReference(string libraryFilename);
17
18 /// <summary>
19 /// Checks if the Custom Script Assembly has the provided <see cref="AssemblyFlags" /> value set.
20 /// </summary>
21 /// <param name="flag">The <see cref="AssemblyFlags" /> value to check against.</param>
22 /// <returns>True if the provided <paramref name="flag" /> value is set; false otherwise.</returns>
23 bool HasAssemblyFlag(AssemblyFlags flag);
24 }
25}