{"action":"opened","issue":{"url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/313","repository_url":"https://api.github.com/repos/EvilBeaver/OneScript","labels_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/313/comments","events_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/313/events","html_url":"https://github.com/EvilBeaver/OneScript/issues/313","id":168063666,"number":313,"title":"Работа с ЭтотОбъект","user":{"login":"ret-Phoenix","id":8619544,"avatar_url":"https://avatars.githubusercontent.com/u/8619544?v=3","gravatar_id":"","url":"https://api.github.com/users/ret-Phoenix","html_url":"https://github.com/ret-Phoenix","followers_url":"https://api.github.com/users/ret-Phoenix/followers","following_url":"https://api.github.com/users/ret-Phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ret-Phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ret-Phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ret-Phoenix/subscriptions","organizations_url":"https://api.github.com/users/ret-Phoenix/orgs","repos_url":"https://api.github.com/users/ret-Phoenix/repos","events_url":"https://api.github.com/users/ret-Phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ret-Phoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-28T10:29:54Z","updated_at":"2016-07-28T10:29:54Z","closed_at":null,"body":"При приведении к Строке объекта реализующего IRuntimeContextInstance получаю testFormButton19a33fc545f9424aa9708af41f45cbe4, где test-FormButton.os - файл из которого работаю с объектом\r\n\r\nХотелось бы имея ссылку на объект получать информацию по имени файла\r\n\r\n`\r\nКнопка2.УстановитьДействие(ЭтотОбъект, \"Нажатие\", \"ПриНажатииНаКнопку2\");\r\n\r\nprivate IRuntimeContextInstance _thisScript;\r\n\r\n        [ContextMethod(\"УстановитьДействие\", \"SetAction\")]\r\n        public void setAction(IRuntimeContextInstance contex, string eventName, string methodName)\r\n        {\r\n            if (eventName == \"Нажатие\")\r\n            {\r\n                ((Button)this._item).Click -= BtnClick;\r\n                ((Button)this._item).Click += BtnClick;\r\n                this._thisScript = contex;\r\n                this._methodName = methodName;\r\n            }\r\n        }\r\n\r\n`"}}
{"actor":{"display_login":"ret-Phoenix"}}