Apr 30, 2013 at 11:30 PM
Edited Apr 30, 2013 at 11:35 PM
Apart from grabbing the source and making the modifications directly, the only thing I can think you might be able to do is to add this through an extension method.
A pretty good example/explanation of an extension methods is available here:
Also, while this may "work", it's not a good idea performance-wise, but the basic idea would be to have the extension method do what you need it to and would look something like this:
public static class TwitterUserExtensions
public static int TotalRetweets(this User user)
int retweets = 0;
// code to open a new twitter context and count retweets
Now, as to the question of whether you can get the information you're looking for out of Linq to Twitter, that is for someone else to answer because I just started looking at this today...
Edit: Wups, forgot a quick example of what that would look like in use. In the file where you need to get at this new method, import the namespace that you gave it in the above step, and then your new method will be available to use:
var myRewteetCount = myUserObject.TotalRetweets()