Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
Personal project IXmlSerializable ScriptJunkie
Post Body

So I have been working on a project as just something fun to work on while at home. https://github.com/lzinga/ScriptJunkie

Please read the ReadMe for more information about the project. However mostly I am here to ask for help and input.

First question: If anyone could look through the code and comment on the structure and how things are done and if it makes sense to you that would be great. Don't work on many projects by myself so trying to get proper structure that makes sense.

Second Question: You can see I currently have an issue open that it fails to load the xml properly. I believe this has something to do with the IXmlSerializable that I inherit on t he ScriptCollection and the DownloadCollection but haven't been able to figure out what. It seems to serialize the first object but never even touch the second. If in the xml you move the <Downloads> underneath the <Scripts> it suddenly gets the scripts.

If anyone could give any input on this that would be great. You can find a test in the unit tests that expects it to find 2 scripts and 2 downloads and it fails.

One last thing to mention is it better to make the ScriptCollection and DownloadCollection or just make a List<Download> Downloads. I had to use the IXmlSerializable interface because I couldn't add attributes to the root element of <Downloads> for <Downloads TimeOut="60" RefreshRate="10">.

Author
Account Strength
90%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,721
Link Karma
2,348
Comment Karma
2,373
Profile updated: 5 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago