public DotNetHexFileStructureInfoProvider(ToolTipCreatorFactory toolTipCreatorFactory)
 {
     if (toolTipCreatorFactory == null)
     {
         throw new ArgumentNullException(nameof(toolTipCreatorFactory));
     }
     this.toolTipCreatorFactory = toolTipCreatorFactory;
 }
 public DefaultHexFileStructureInfoProvider(ToolTipCreatorFactory toolTipCreatorFactory, Lazy <HexFileImageReferenceProvider>[] hexFileImageReferenceProviders)
 {
     if (toolTipCreatorFactory == null)
     {
         throw new ArgumentNullException(nameof(toolTipCreatorFactory));
     }
     if (hexFileImageReferenceProviders == null)
     {
         throw new ArgumentNullException(nameof(hexFileImageReferenceProviders));
     }
     this.toolTipCreatorFactory          = toolTipCreatorFactory;
     this.hexFileImageReferenceProviders = hexFileImageReferenceProviders;
 }
示例#3
0
 DefaultHexFileStructureInfoProviderFactory(ToolTipCreatorFactory toolTipCreatorFactory, [ImportMany] IEnumerable <Lazy <HexFileImageReferenceProvider> > hexFileImageReferenceProviders)
 {
     this.toolTipCreatorFactory          = toolTipCreatorFactory;
     this.hexFileImageReferenceProviders = hexFileImageReferenceProviders.ToArray();
 }
示例#4
0
 DotNetHexFileStructureInfoProviderFactory(ToolTipCreatorFactory toolTipCreatorFactory) => this.toolTipCreatorFactory = toolTipCreatorFactory;