protected override void ProcessRecordCore()
{
var project = SolutionManager.GetProject(string.IsNullOrEmpty(Project) ? SolutionManager.DefaultProjectName : Project);
if (project == null) {
WriteError(string.Format("Could not find project '{0}'", Project ?? string.Empty));
return;
}
var result = project.GetCodeLanguage();
if (result != null)
WriteObject(result);
}
}