public ArrayAssignmentFrame(ArrayInstance <T> instance, Variable[] elements) { Elements = elements; Variable = new ServiceVariable(instance, this); if (typeof(T).MustBeBuiltWithFunc()) { Variable.OverrideType(typeof(object[])); } ElementType = typeof(T); }
public ListAssignmentFrame(ListInstance <T> instance, Variable[] elements) : base(false) { ElementType = typeof(T); Variable = new ServiceVariable(instance, this); if (ElementType.MustBeBuiltWithFunc()) { Variable.OverrideType(typeof(object[])); } Elements = elements; }