internal Mapping(FactorioIdRange <TKey> source) { this.source = source; data = new TValue[source.count]; offset = source.start; }
public Mapping <T, TOther, TValue> CreateMapping <TOther, TValue>(FactorioIdRange <TOther> other) where TOther : FactorioObject => new Mapping <T, TOther, TValue>(this, other);