public override string Execute(IList <string> parameters)
        {
            List <IFrameElement> frameElements = base.dbctx.FrameElements;
            var result = new StringBuilder();

            foreach (var frameElement in frameElements)
            {
                result.AppendLine(FrameService.AsString(frameElement));
            }

            return(result.ToString());
        }
        public override string Execute(IList <string> parameters)
        {
            int frameId;

            try
            {
                frameId = int.Parse(parameters[0]);
            }
            catch
            {
                throw new ArgumentException("Failed to parse ShowFrameElement command parameters.");
            }

            IFrameElement frameElement = base.dbctx.FrameElements[frameId];
            string        result       = FrameService.AsString(frameElement);

            return(result);
        }