<?php
namespace MGS\Blog\Block\Adminhtml;

use Magento\Framework\Cache\LockGuardedCacheLoader;


class Custom extends  \Magento\Backend\Block\Template\Context {
    /**
     * Block template
     *
     * @var string
     * 
     */

     public function __construct(
        \Magento\Framework\App\RequestInterface $request,
        \Magento\Framework\View\LayoutInterface $layout,
        \Magento\Framework\Event\ManagerInterface $eventManager,
        \Magento\Framework\UrlInterface $urlBuilder,
        \Magento\Framework\App\CacheInterface $cache,
        \Magento\Framework\View\DesignInterface $design,
        \Magento\Framework\Session\Generic $session,
        \Magento\Framework\Session\SidResolverInterface $sidResolver,
        \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig,
        \Magento\Framework\View\Asset\Repository $assetRepo,
        \Magento\Framework\View\ConfigInterface $viewConfig,
        \Magento\Framework\App\Cache\StateInterface $cacheState,
        \Psr\Log\LoggerInterface $logger,
        \Magento\Framework\Escaper $escaper,
        \Magento\Framework\Filter\FilterManager $filterManager,
        \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate,
        \Magento\Framework\Translate\Inline\StateInterface $inlineTranslation,
        \Magento\Framework\Filesystem $filesystem,
        \Magento\Framework\View\FileSystem $viewFileSystem,
        \Magento\Framework\View\TemplateEnginePool $enginePool,
        \Magento\Framework\App\State $appState,
        \Magento\Store\Model\StoreManagerInterface $storeManager,
        \Magento\Framework\View\Page\Config $pageConfig,
        \Magento\Framework\View\Element\Template\File\Resolver $resolver,
        \Magento\Framework\View\Element\Template\File\Validator $validator,
        \Magento\Framework\AuthorizationInterface $authorization,
        \Magento\Backend\Model\Session $backendSession,
        \Magento\Framework\Math\Random $mathRandom,
        \Magento\Framework\Data\Form\FormKey $formKey,
        \Magento\Framework\Code\NameBuilder $nameBuilder,
        LockGuardedCacheLoader $lockQuery = null
     )
     {
         parent::__construct($request,$layout
         ,$eventManager,$urlBuilder,$cache,$design,$session,$sidResolver,$scopeConfig,
         $assetRepo,$viewConfig,$cacheState,$logger,$escaper,$filterManager,$localeDate,
         $inlineTranslation,$filesystem,$viewFileSystem,$enginePool,$appState,$storeManager,
         $pageConfig,$resolver,$validator,$authorization,$backendSession,$mathRandom,$formKey,
        $nameBuilder);
     }
    protected $_template = 'custom.phtml';
}