public DefaultHexStructureInfoProvider(HexView hexView, HexBufferFileServiceFactory hexBufferFileServiceFactory, HexFileStructureInfoServiceFactory hexFileStructureInfoServiceFactory)
 {
     if (hexView is null)
     {
         throw new ArgumentNullException(nameof(hexView));
     }
     if (hexBufferFileServiceFactory is null)
     {
         throw new ArgumentNullException(nameof(hexBufferFileServiceFactory));
     }
     if (hexFileStructureInfoServiceFactory is null)
     {
         throw new ArgumentNullException(nameof(hexFileStructureInfoServiceFactory));
     }
     hexBufferFileService        = hexBufferFileServiceFactory.Create(hexView.Buffer);
     hexFileStructureInfoService = hexFileStructureInfoServiceFactory.Create(hexView);
 }
 DefaultHexStructureInfoProviderFactory(HexBufferFileServiceFactory hexBufferFileServiceFactory, HexFileStructureInfoServiceFactory hexFileStructureInfoServiceFactory)
 {
     this.hexBufferFileServiceFactory        = hexBufferFileServiceFactory;
     this.hexFileStructureInfoServiceFactory = hexFileStructureInfoServiceFactory;
 }