namespace View_by_Distance.Shared.Models.Stateless.Methods; public interface ILocation { // ... Models.Location? TestStatic_GetLocation(Models.Location? location, int height, int width, int zCount); static Models.Location? GetLocation(Models.Location? location, int height, int width, int zCount) => location is null ? null : new(location.Confidence, height, location, width, zCount); Models.Location? TestStatic_GetLocation(int factor, Models.Location? location, int height, int width, int zCount); static Models.Location? GetLocation(int factor, Models.Location? location, int height, int width, int zCount) => location is null ? null : new(location.Confidence, factor, height, location, width, zCount); int?[] TestStatic_GetInts(List locations); static int?[] GetInts(List locations) => (from l in locations where l.NormalizedPixelPercentage is not null select l.NormalizedPixelPercentage).ToArray(); }