コード例 #1
0
 private static LineSettings CreateLine(LineSettings0 settings)
 {
     LineSettings result = new LineSettings();
     result.Volume = settings.Volume;
     result.BidColor = ColorSerializer.ColorFromString(settings.BidColor);
     result.AskColor = ColorSerializer.ColorFromString(settings.AskColor);
     return result;
 }
コード例 #2
0
        private static LineSettings0 CreateLine(LineSettings settings)
        {
            LineSettings0 result = new LineSettings0();
            result.BidColor = ColorSerializer.StringFromColor(settings.BidColor);
            result.AskColor = ColorSerializer.StringFromColor(settings.AskColor);
            result.Volume = settings.Volume;

            return result;
        }