mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-06 17:01:58 +00:00
ZoneCodeGenerator: Add arraysize test to explicitly override the size of an array with a dynamic one
This commit is contained in:
1 parent
76cae3a948
commit
6ca7f18f9f
4 files changed
+100
-11
No files matched your search
@@ -1,12 +1,17 @@
|
||||
namespace ZoneCodeGenerator.Domain
|
||||
using ZoneCodeGenerator.Domain.Evaluation;
|
||||
|
||||
namespace ZoneCodeGenerator.Domain
|
||||
{
|
||||
class ReferenceTypeArray : ReferenceType
|
||||
{
|
||||
public int ArraySize { get; }
|
||||
|
||||
public IEvaluation DynamicSize { get; set; }
|
||||
|
||||
public ReferenceTypeArray(int arraySize)
|
||||
{
|
||||
ArraySize = arraySize;
|
||||
DynamicSize = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user