Albert Weinert

Results 41 comments of Albert Weinert

You can use https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream as MemoryStream Replacement for less LOH Fragmentation.

Here an Example: ```csharp public class QuestPdfResult : ActionResult { private readonly IDocument _document; private readonly string _filename; public QuestPdfResult(IDocument document, string filename) { _document = document; _filename = filename;...

No, this only checks if one element is on the list. I would like to compare to lists. With Instances which are not implementing Equals()

@dennisdoomen no, this does not work in that case (System.Security.Claims.Claims), because not alle properties are needed in every case, and are useless. Also, the message which is given, does not...

also, i expect that BeEquivalentTo() als compares against the count of the items, but this is different than Contains().

This is not practical if i would like to see if a couple of elements are in the list

@dennisdoomen that's why i opened this issue ;) To discuss a possible solution.

Yes and No. I like this for using anonymous type, which is fine for ONE Instance, not for multiple instance. and for multiple instance I (me and myself) prefer a...

Oh, if i can put a comparer in there ... i'm good with that ;) So i didn't understand you.