public void CreateActionJavaScript(string codeName, string methodName, StringCollection sb, StringCollection parameters, string returnReceiver)
        {
            string cn;

            if (string.IsNullOrEmpty(codeName))
            {
                cn = this.GetVarName();
            }
            else
            {
                if (string.CompareOrdinal(codeName, uuid) == 0)
                {
                    cn = this.GetVarName();
                }
                else
                {
                    cn = codeName;
                }
            }
            if (_compiler == null)
            {
                _compiler = new MarkerCompiler();
            }
            _compiler.CreateActionJavaScript(cn, methodName, sb, parameters, returnReceiver);
        }
        public void AttachJsEvent(string codeName, string eventName, string handlerName, StringCollection jsCode)
        {
            if (_compiler == null)
            {
                _compiler = new MarkerCompiler();
            }
            string cn;

            if (string.IsNullOrEmpty(codeName))
            {
                cn = GetVarName();
            }
            else
            {
                cn = codeName;
            }
            _compiler.AttachJsEvent(cn, eventName, handlerName, jsCode);
        }