2022-12-16 11:26:00 -07:00

16 lines
577 B
C#

namespace View_by_Distance.Shared.Models.Stateless.Methods;
public interface IOutputResolution
{ // ...
int TestStatic_GetHeight(Models.OutputResolution outputResolution) =>
GetHeight(outputResolution);
static int GetHeight(Models.OutputResolution outputResolution) =>
OutputResolution.Get(outputResolution).Height;
int TestStatic_GetWidth(Models.OutputResolution outputResolution) =>
GetWidth(outputResolution);
static int GetWidth(Models.OutputResolution outputResolution) =>
OutputResolution.Get(outputResolution).Width;
}