public bool CheckOnCorrectPlacement(string text)
        {
            ConfigurationHelper helper     = new ConfigurationHelper();
            WorkWithHooks       hook       = new WorkWithHooks();
            bool searchResult              = hook.CheckHooks(text, helper.GetDictionaryTokenInternal("BeginToken", "EndToken"));
            DataServiceContext dataService = new DataServiceContext();

            dataService.AddResultOfCheking(searchResult, hook.count);
            return(searchResult);
        }
Exemplo n.º 2
0
        public void WriteToDestination(bool searchresult, int count)
        {
            DataServiceContext dataService = new DataServiceContext();

            dataService.AddResultOfCheking(searchresult, count);
        }