using System; using System.Linq; using mROA.Abstract; using mROA.Implementation; using System.Collections.Generic; namespace { public class GeneratedCallIndexProvider : ICallIndexProvider { public Dictionary> _activators = new () { , }; public Dictionary> Activators => _activators; private IndexSpan _span = new () { ApiLevel = , Identifier = "", Length = , Offset = 0, }; public IndexSpan Span => _span; private Dictionary Indexes = new() { }; public void Inject(T dependency) { } public void SetupOffset(int offset) { _span.Offset = offset; } public int[] GetIndices(Type type) { return Indexes[type].Select(i => i + _span.Offset).ToArray(); } } }