public static Version GetSilverlightPlatformVersion(this IUnitTestRun run) { var sequence = run.GetSequences().FirstOrDefault(); return(sequence != null?sequence.GetSilverlightPlatformVersion() : null); }