Im a bit confused how I should fire an event I made.
var tosplit = Decompress(fileIn, cleanup, directoryOut);
var retval = Split(tosplit.FullName, cleanup, directoryOut);
OnUnpackAndSplitComplete(new EventArgs());
return retval;
If I fire my event there, technically its not true as it hasn't returned to its caller yet... Im wondering if theres some way to fire it After I have returned Retval
hey guys I'm trying to add a scheduler function called scheduler to choose the next thread to run. So I need to ensure that all thread states are correct. e.g. Threads which have completed have their state changed to FINISHED, threads which are waiting to run are READY and only the currently executing thread is RUNNING. this is my Current code https://pastebin.com/DrGRdniE
I just need tips on how to start , this is C programming btw :p
@Wietlol Probably because chat isn't a main feature. Hell, it's mostly hidden away from the main site, you don't get any rep here, and chat doesn't really get any love from the SO devs. So, no, it makes sense it isn't bigger
Still, I like this amount of people. Too many makes it very impersonal anyway.
the example Microsoft have provided is quite silly. The goal of the example could have been better if they use abstraction and implement the printing function for each shape.
in simple terms, the implemented function returns an instance of MyInterface so it follows the interface's contract and the same counts for the input, it can recieve strings, but also other objects
so, what is the issue with it?
simply said, "C# designers"
same goes for in/out on generics
if we take a look at java, we can see a much more powerful usage of bounds
even though java is still missing another feature on generics... and ignoring type erasure
it's a little bit more than optimization in my oppinion. One option allows endless loop in recursive call, other option does not. With the first option You can write controller of some kind (like an operating system), with the second You can't.
Anyone have any experience using the DocumentDB API? It's not using my JsonConverter for queries but it is using it for the document itself. It means I can't look up things ...
I want to understand two things. first why when I used dbSet.Where(Expression<Func<bool,T>>) the data shown faster rether than using dbSet.Where(Func<bool,T>) . OK, I slightly understand the relationship between IQueryable and the Expression tree, and IEnumerable and Func.. but the two ways must share the same mechanism of fetching data>> go to db, get the data, and store them in the memory then show them. so why IQueryable is faster?
we've realised a new POC and the session is set on Chrome on localhost
already seen this post :p
but it happened on local/test/UAT only on chrome each time
I already try to set a lot of config in the httpCookies, but nothing change. I think it's maybe due to something else in the webconfig or in the startup...
Could an ObservableCollection<T> be considered an argument? I'm reading about a messageCenter and it's saying use it to decouple ViewModels and pass arguments between ViewModels.