« first day (1414 days earlier)      last day (3520 days later) » 

2:09 AM
@Darek if entities.Count = 0 Select will be null.... ah I see juan already answered it
 
 
1 hour later…
3:37 AM
anyone here?
 
 
2 hours later…
5:56 AM
yo
 
jru @DemCodeLines
hey*
 
@baeltazor hi
How would I add grouping to the ListCollectionView class in here? codeproject.com/Articles/527686/…
 
6:20 AM
@DemCodeLines I think this link might help you out: abhisheksur.com/2013/07/advanced-usage-of-grouping-in.html if you need help later i'd be glad to try and help, but at the moment i'm just applying for jobs online and fixing up my resume
 
 
4 hours later…
10:24 AM
BAM
any MEF ninjas around?
I have a question about initialization of imported classes
 
10:45 AM
Know what it is, never used it
I am however quite good at googling, so shoot
 
11:18 AM
been doing a fair bit of googling myself
basically I'm doing extensions by importing a collection of objects derived from an abstract class called Module, like so

[ImportMany(typeof(Module))]
private IEnumerable<Lazy<Module>> modules;

Basically, I want to pass an object into the parameter of the constructor of the modules that get imported but I'm still figuring out how to do that
because MEF automatically calls the constructor/s when it imports the object
I'm still playing around with it though; I'm fairly new to MEF
 
11:37 AM
you are going to want to mark the constructor as [ImportingConstructor], for starters
then the class of the object you are passing into the constructor needs to me made an export (with the [Export] attribute) so that MEF can find it
of course that object needs to have a parameterless constructor, or the chain continues
Alternatively you can compose an instance to the second object into your catalog with ComposeExportedValue
it really depends on what you are using the parameter for.
 
I did the importingconstructor attribute
the object I want to pass into the constructor is a private member of another class
i tried putting an export attribute on the member declaration but that doesn't appear to work, as null is being passed through
actually hang on a second
facepalm; I've just realized the object doesn't get initialized until after MEF has done its thing
yep, all fixed; thanks
 
 
3 hours later…
3:21 PM
What are good WPF books of 2014 ?
 
 
1 hour later…
4:22 PM
Hi!
Is there anybody active?
 
Hi
I am half busy, but if you have a question, I could give it a try
 
@DavidKhuu I am creating a web bot. I should create a web request for post action. In the web site a button does post action but its link is a javascript code :
javascript:WebForm_DoPostBackWithOptions(..) , how can I do post action to this?
 
Unfortunately, I am not really good at web tasks ... :'(
So, this button is calling a Javascript function ? Can't you edit its content ?
 
4:43 PM
No, I can't. I should find a solution to post data to PostBack and I gues I am about to find.
Thanks for your concern @DavidKhuu
 
5:20 PM
So when I finally get a class that supports listview filtering, I can't get it to group items.
 
5:55 PM
:/
 
 
1 hour later…
7:24 PM
idk all of a sudden i have this thought of working in some other country.
i think of going to amsterdam.
 

« first day (1414 days earlier)      last day (3520 days later) »