Beispiel #1
0
        protected override void Execute(CodeActivityContext context)
        {
            try
            {
                SymbolicExpression input  = this.Input.Get(context);
                List <T>           output = new List <T>();

                foreach (var a in input.AsList())
                {
                    output.Add((T)Convert.ChangeType(a.AsRaw()[0], typeof(T)));
                }

                this.Output.Set(context, output);
            }
            catch (Exception e)
            {
                throw e;
            }
        }