Stories recently tagged with 'IEnumerable'

Linq to QueryableComputer : GAC, Registry, etc. Fusion Log Debugging (domaindotnet.com)

submitted by dcarrdcarr(790) 3 years, 8 months ago

Example: (try this with gacutil.exe) ** ASSEMBLIES BY NAME WITH > 1 REGISTERED = 664 *** Group ‘Microsoft’ Assemblies=466 Percent=70.18% Public Keys Used=5 Group ‘DevExpress’ Assemblies=73 Percent=10.99% Public Keys Used=2 Group ‘System’ Assemblies=71 Percent=10.69% Public Keys Used=4 Group ‘Policy’ Assemblies=14 Percent=2.11% Public Keys Used=2 Group ‘FSharp’ Assemblies=11 Percent=1.66% Public Keys Used=1 Group ‘VLinq’ Assemblies=10 Percent=1.51% Public Keys Used=1 Group ‘policy’ Assemblies=6 Percent=0.9% Public Keys Used=2 Group ‘PresentationFramework’ Assemblies=5 Percent=0.75% Public Keys Used=1 Group ‘mscorcfg’ Assemblies=2 Percent=0.3% Public Keys Used=1 Group ‘WebDev’ Assemblies=2 Percent=0.3% Public Keys Used=1 Group ‘VSTADTEProvider’ Assemblies=2 Percent=0.3% Public Keys Used=1 Group ‘VsWebSite’ Assemblies=2 Percent=0.3% Public Keys Used=1 read more...

add a comment |category: |Views: 38

tags: another

‘Linq to Gac’ : Use Linq to Power Query your Gac via C# to Fusion(blog.domaindotnet.com)

submitted by dcarrdcarr(790) 3 years, 8 months ago

This post gets the GAC via Linq to bend your way. How? A Fusion Wrapper to IEnumerable over your Gac. No nasty PInvokes to deal with. It's all clean C# which is here to use. We owe a debt to the Mono project for this as well as a very smart Microsoft staff member to be give credit when we can find the page again. Be careful however...Our last post cranked through your registry. This post gets you the GAC. Here is what is done with a holistic post later: * All files we can find (if you specify them) * The Gac (all of it and even the other two ‘sub-gacs’ if you want * Environmental Stuff (Path variable, etc. but we actually parse them and produce another tree and it fits our code) * A lot more (think all things inside you box) You can even join all this data if you can find the right keys. We joined our registry to our file system ‘where the registry key value as a path’ (where is was a valid path) didn’t exist. Earth-shattering? No. Faster then any virus checker we’ve tried? ABSOLUTELY. Relevant to virus checkers? No not really actually…. read more...

2 comments |category: |Views: 96

tags: another

Lists: Filter, Map and Reduce - and the Magic of IEnumerator.(honestillusion.com)

submitted by JamesCurran2JamesCurran2(134) 3 years, 9 months ago

There are 3 very handy list functions which make dealing with lists a breeze: Map, Filter and Reduce. But along the way of writing them, an important principle of IEnumerator<> comes up. read more...

add a comment |category: |Views: 63

tags: another

ItemsSource tips & tricks(rredcat.blogspot.com)

submitted by RredCatRredCat(299) 3 years, 9 months ago

Describe problem. When we wish to implement the mechanism Drag&Drop of Children for our control in WPF, particularly that our control contains children in its logical tree (in other case attached and inherit properties work incorrect sometimes). Let that control template contains some other controls inherit from ItemControl. We wish add some children to this inherit from ItemControl controls. What can we do? read more...

add a comment |category: |Views: 101

tags: another

LINQFarm: Understanding IEnumerable<T>, Part I(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 4 years ago

The IEnumerable<T> interface is a key part of LINQ to Objects and binds many of its different features together into a whole. This series of posts explains IEnumerable<T> and the role it plays in LINQ to Objects. If you hear people talking about IEnumerable<T>, and sometimes wished you better understood its significance, then you should find this text helpful. read more...

add a comment |category: |Views: 83

tags: another

What's inside a foreach() statement?(honestillusion.com)

submitted by JamesCurran2JamesCurran2(134) 5 years ago

A comparision of a foreach() loop and manually looping by calling GetEnumerator() and MoveNext() read more...

add a comment |category: |Views: 3

tags: another

More Fun with C# Interators : A Counting Iterator(honestillusion.com)

submitted by JamesCurran2JamesCurran2(134) 5 years ago

A C# Iterator which appears to be a collection filled with a sequence of numbers. read more...

add a comment |category: |Views: 17

tags: another

More Fun with C# Iterators: Take, Skip, TakeWhile, SkipWhile(honestillusion.com)

submitted by JamesCurranJamesCurran(635) 5 years, 2 months ago

Demostration of implementing a couple features of .Net 3.0 LINQ using just .Net 2.0 read more...

add a comment |category: |Views: 866

tags: another

Implementing A Circular Iterator (correct link)(honestillusion.com)

submitted by JamesCurranJamesCurran(635) 5 years, 2 months ago

Creating a IEnumerator<T> which loops continuously through a collection. read more...

add a comment |category: |Views: 70

tags: another

Adding Skip First to Foreach(honestillusion.com)

submitted by JamesCurranJamesCurran(635) 5 years, 3 months ago

Allow developers to use foreach to iterator over a collection, in the case where the first or last item in the collection needed to be handled differently. read more...

add a comment |category: |Views: 90

tags: another