public FileHintTable()
 {
     _fileHints        = new List <FileHint>();
     _fileHintsWrapper = new Utility.ListAsDict <FileHint>(_fileHints);
     _fileHintMatch    = new Utility.ComputedPropertyIndexer <FileHint, string, int>(
         _fileHintsWrapper, (_) => _.PathlessFileName.ToLowerInvariant());
 }
 public FilePathTable()
 {
     _filePaths        = new List <FilePath>();
     _filePathsWrapper = new Utility.ListAsDict <FilePath>(_filePaths);
     _filePathMatch    = new Utility.ComputedPropertyIndexer <FilePath, FilePath, int>(_filePathsWrapper, (_) => _);
     _fileHintMatch    = new Utility.ComputedPropertyIndexer <FilePath, FileHint, int>(_filePathsWrapper, (_) => _.FileHint);
     _fullNameIndex    = new Utility.ComputedPropertyIndexer <FilePath, string, int>(_filePathsWrapper, (_) => _.FullName);
     _checksumIndex    = new Utility.ComputedPropertyIndexer <FilePath, string, int>(_filePathsWrapper, (_) => _.Identity.Checksum);
 }
Esempio n. 3
0
 public ImportTable()
 {
     _entries        = new List <ImportEntry>();
     _entriesWrapper = new Utility.ListAsDict <ImportEntry>(_entries);
     _exactMatch     = new Utility.ComputedPropertyIndexer <ImportEntry, ImportEntry, int>(_entriesWrapper, (_) => _);
     _symbolIndex    = new Utility.ComputedPropertyIndexer <ImportEntry, string, int>(_entriesWrapper, (_) => _.Symbol);
     _shortNameIndex = new Utility.ComputedPropertyIndexer <ImportEntry, string, int>(_entriesWrapper, (_) => _.ShortFunctionName);
     _callerIndex    = new Utility.ComputedPropertyIndexer <ImportEntry, FileIdentity, int>(_entriesWrapper, (_) => _.CalledFromFileIdentity);
     _providerIndex  = new Utility.ComputedPropertyIndexer <ImportEntry, FileHint, int>(_entriesWrapper, (_) => _.ProviderFileHint);
 }
Esempio n. 4
0
 public ExportTable()
 {
     _entries        = new List <ExportEntry>();
     _entriesWrapper = new Utility.ListAsDict <ExportEntry>(_entries);
     _exactMatch     = new Utility.ComputedPropertyIndexer <ExportEntry, ExportEntry, int>(_entriesWrapper, (_) => _);
     _symbolIndex    = new Utility.ComputedPropertyIndexer <ExportEntry, string, int>(_entriesWrapper, (_) => _.Symbol);
     _shortNameIndex = new Utility.ComputedPropertyIndexer <ExportEntry, string, int>(_entriesWrapper, (_) => _.ShortFunctionName);
     _providerIndex  = new Utility.ComputedPropertyIndexer <ExportEntry, FileIdentity, int>(_entriesWrapper, (_) => _.ProviderIdentity);
     _prototypeIndex = new Utility.ComputedPropertyIndexer <ExportEntry, string, int>(_entriesWrapper, (_) => _.FunctionPrototype);
 }
Esempio n. 5
0
 public CallTable()
 {
     _entries        = new List <CallEntry>();
     _entriesWrapper = new Utility.ListAsDict <CallEntry>(_entries);
     _callEntryMatch = new Utility.ComputedPropertyIndexer <CallEntry, CallEntry, int>(_entriesWrapper, (_) => _);
 }