These are chat archives for Ruhrpottpatriot/GW2.NET

7th
Dec 2015
Robert Logiewa
@Ruhrpottpatriot
Dec 07 2015 14:22

The new analyzers don't use the Stylecop files anymore. We have a set of rules that are either in the MS ruleset or the Stylecop rulesset. We then get two files which specify the disabled rules (and some other things).
However I'm seriously thinking about converting everything from portable csproj to xproj (i.e. ASP.NET5/vNext) since that is now in RC1. This would have many benefits for targeting multiple sets of .NET and a much easier version management (not in the Git sense) via the project.json files. Publishing to NuGet would be much easier too with these files.

But in the end I leaning towards a 2.0 release with portable csproj files and then a 3.0 for the new project system (since 1.0 of ASP.NET5 is scheduled for Q12016)

Steven Liekens
@StevenLiekens
Dec 07 2015 17:42
sounds good
for me it's whatever
I just don't want to keep having to update old code for new game features
Robert Logiewa
@Ruhrpottpatriot
Dec 07 2015 17:43
yeah I can understand that
Robert Logiewa
@Ruhrpottpatriot
Dec 07 2015 17:55
damn, now that I know more about expression trees and IQueryable, I sort of want to implement it into GW2.NET...
Steven Liekens
@StevenLiekens
Dec 07 2015 17:56
isn't the api too limited for what IQueryable can do?
Robert Logiewa
@Ruhrpottpatriot
Dec 07 2015 17:57
not at all
the main benefit of IQuerable are Expressions and ExpressionTrees
Steven Liekens
@StevenLiekens
Dec 07 2015 17:57
like how you can only query 200 ids at a time
and how you can't do an accurate .Skip() and .Take() because of how paging works
Robert Logiewa
@Ruhrpottpatriot
Dec 07 2015 17:58
that is not a problem of IQueryable. Think of it as a possibility to construct lambdas and other expressions on the fly and then translate them into something else
you don't have to implement those methods
remember, those are extension methods
they are not built into the interface
ok
hm...
I need to get into this a bit more
but it should be possible
Steven Liekens
@StevenLiekens
Dec 07 2015 18:01
items.Skip(49).Take(50)
can you?
I think you would have to do something like that
and then merge the collections
lol
it's definitely a challenge
Robert Logiewa
@Ruhrpottpatriot
Dec 07 2015 21:03
yeah. That was pretty clear to me. However I'm currently writing my own parser for some strings and expressions trees are a neat way to do that.