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; }
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; }