C# Class DataAccess.MediaRating

Exibir arquivo Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Public Methods

Method Description
GetValue ( double ratio ) : double?

Returns the computed value of Height * Depth on a scale of 11.

Private Methods

Method Description
DbGetValue ( double height, double depth, double ratio ) : double?

Method Details

GetValue() public method

Returns the computed value of Height * Depth on a scale of 11.
public GetValue ( double ratio ) : double?
ratio double Ratio between -1 and 1 representing the priority between Height and Depth. /// If Ratio is under 0, Height is prioritized. If Ratio is over 0, Depth is prioritized.
return double?