Beispiel #1
0
 public HexMarkerTagger(HexViewSearchServiceProvider hexViewSearchServiceProvider, WpfHexView wpfHexView)
 {
     if (hexViewSearchServiceProvider == null)
     {
         throw new ArgumentNullException(nameof(hexViewSearchServiceProvider));
     }
     if (wpfHexView == null)
     {
         throw new ArgumentNullException(nameof(wpfHexView));
     }
     hexViewSearchService = hexViewSearchServiceProvider.Get(wpfHexView);
     hexViewSearchService.RegisterHexMarkerListener(this);
 }
Beispiel #2
0
 public CommandTargetFilter(HexViewSearchServiceProvider hexViewSearchServiceProvider, WpfHexView wpfHexView)
 {
     hexViewSearchService = hexViewSearchServiceProvider.Get(wpfHexView);
 }