public bool Equals(InputForComputingCellGroups other) { // Isn't this funny? We are not using Memoizer for function memoization. Args Entity and Config don't matter! // If I were to compare Entity this would not use the cache for cases when I supply different entity set. However, // the cell groups belong to ALL entity sets. return(ContainerMapping.Equals(other.ContainerMapping) && Config.Equals(other.Config)); }