Exemplo n.º 1
0
        internal static StepShapeRepresentation CreateFromSyntaxList(StepBinder binder, StepSyntaxList syntaxList, int id)
        {
            var shapeRepresentation = new StepShapeRepresentation();

            shapeRepresentation.SyntaxList = syntaxList;
            syntaxList.AssertListCount(3);
            shapeRepresentation.Id   = id;
            shapeRepresentation.Name = syntaxList.Values[0].GetStringValue();
            shapeRepresentation.BindSyntaxList(binder, syntaxList, 1);
            return(shapeRepresentation);
        }