//>>> _using
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpDX;
using SharpDX.Direct3D11;
using SharpDX.Windows;
//<<< _using


namespace Framefield.Core.IDc8f9ffe2_2681_431f_ad0a_2f51f4af5af3
{
    public class Class_Trim : OperatorPart.Function
    {
        //>>> _inputids
        private enum InputId
        {
            String = 0
        }
        //<<< _inputids


        public override OperatorPartContext Eval(OperatorPartContext context, List<OperatorPart> inputs, int outputIdx) {
            //>>> _params
            var String = inputs[(int)InputId.String].Eval(context).Text;
            //<<< _params            
            string result = string.Empty;
            //for (int i = 0; i < StringInputs.Connections.Count; ++i) {
            //    result += StringInputs.Connections[i].Eval(context).Text;
            //}
            context.Text = String.Trim();
            
            return context;
        }
    }
}

