コード例 #1
0
 private static string WrapValue(DataValue dataValue)
 {
     return($"I was a double {HistoricalDataValues.GetDoubleValue(dataValue)}");
 }
コード例 #2
0
 private static string AddSuffix(DataValue dataValue)
 {
     return($"{HistoricalDataValues.GetStringValue(dataValue)}Geoff");
 }
コード例 #3
0
        //*********************************************************************************************
        // The methods below are candidates for moving into an F# assembly that handles value conversion
        //**********************************************************************************************

        private static double ScaleValue(DataValue dataValue)
        {
            return(HistoricalDataValues.GetDoubleValue(dataValue) * 100);
        }