Example #1
0
        static void Main(string[] args)
        {
            iRacingSDK.iRacing.GetDataFeed().First(d => d.IsConnected);

            var x = new TelemetryTemplate();
            File.WriteAllText("GeneratedTelemetry.cs", x.TransformText());

            var y = new SessionInfoTemplate();
            File.WriteAllText(@"GeneratedSessionData.cs", y.TransformText());
        }
        static void Main(string[] args)
        {
            iRacingSDK.iRacing.GetDataFeed().First(d => d.IsConnected);

            var x = new TelemetryTemplate();

            File.WriteAllText("GeneratedTelemetry.cs", x.TransformText());

            var y = new SessionInfoTemplate();

            File.WriteAllText(@"GeneratedSessionData.cs", y.TransformText());
        }