I have a custom operator, waitFor which I am using in my effects as so: It basically looks at correlationId's to not continue executing until the a ...
I have a custom operator, waitFor which I am using in my effects as so: It basically looks at correlationId's to not continue executing until the a ...
In my WPF application, I have the following line: This is returning 2 results. These results have the following types: Microsoft.Crm.UnifiedSer ...
How can I safely cast and return m_obj depending on the given Generic type. I know that if instead if m_obj I had a list I could simply do this: ...
In my page ,I need to search containers and blobs by name,type and LastModified The problem is I can not give List < CloudBlob > list as grid ...
I have a line of code that clears all labels from the form Now I need to exclude particular labels(either by id or text) from that list (like title ...
I have a big problem of querying diverse types of inherited subentities in a single query in Entity Framework. My essential aim is providing all of my ...
parent category contains a list of sub categories and sub categories contains a list of sub categories. Now I want to fetch all parent categories if i ...
Let's say in my database I have 2 classes: Class FooBar and Class BarFoo. I perform a query on my database which returns class FooBos which contains a ...
I have an IDictionary (not generic, so I am dealing with object's here), and I would like to get from it only the elements in that IDictionary which c ...
I have a form with sixteen combo-boxes, each with the DropDownStyle property set to DropDownList. I am trying to set the form so each control shows it ...
I have this code to get "A" as a filtered result. I need to use IEnumerable<Base> list = new List<Base>() {xbase, a, b}; from a functi ...
I have a base class Base, and class A/B that inherits from it. I tried to use OfType to filter the only object that I need as follows: When I co ...
I want to filter objects in a List<ISeries> using their type, using OfType<>. My problem is, that some objects are of a generic interface ...
Take a look at this code. I've got about 100 of loaders and I need to load a lot of Trains, Cars, etc. I think that List of loaders is very slow (h ...
I am trying to filter derived classes in my entities but i am getting exception. I am getting below exception if i try to loop filtered collection ...
Important The question is not "What does Queryable.OfType do, it's "how does the code I see there accomplish that?" Reflecting on Queryable.OfType, I ...
Given a simple inheritance hierarchy: Person -> Student, Teacher, Staff Say I have a list of Persons, L. In that list are some Students, Teachers, ...