1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00
xNode/Scripts/XNodeRuntimeConstants.cs
Jeff Campbell 43ea56fb29
PR Fix
* Removed "Unity" as an assembly prefix to check for as users have reported issues with this previously in the past
2020-02-27 11:19:49 +01:00

33 lines
895 B
C#

namespace XNode
{
/// <summary>
/// A helper class containing shared constants.
/// </summary>
public static class XNodeRuntimeConstants
{
// Exceptions
public const string MISMATCHED_KEYS_TO_VALUES_EXCEPTION_MESSAGE =
"There are {0} keys and {1} values after deserialization. " +
"Make sure that both key and value types are serializable.";
// Reflection
/// <summary>
/// A collection of assembly prefixes that should not be reflected for derived node types.
/// </summary>
public static string[] IGNORE_ASSEMBLY_PREFIXES =
{
"ExCSS",
"Microsoft",
"Mono",
"netstandard",
"mscorlib",
"nunit",
"SyntaxTree",
"System",
"UnityEditor",
"UnityEngine"
};
}
}