using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using MercatorApi;
using MercatorExtensions;
using MercatorUi;

namespace McdClient
{
    public class Customizer : MercatorUi.ICustomizers.IStringUpdater
    {

        public string StringUpdate(string StringToModify)
        {
            string id = Api.StrExtract(StringToModify, "<ID>", "</ID>");
            if (id == "InSigSTOCKRemote")
            {
                MercatorUi.Sig.Sig sig = MercatorUi.Sig._SigsStatic.SigByModule(MercatorUi.Sig._SigEnum.STOCK);
                StringToModify = StringToModify.Replace(" * ", " " + sig.FieldsListForSelectRtrimNoBytes + " ");
            }
            return StringToModify;
        }
    }
}