¡@

Home 

c# Programming Glossary: lazy

What is the best scripting language to embed in a C# desktop application? [closed]

http://stackoverflow.com/questions/137933/what-is-the-best-scripting-language-to-embed-in-a-c-sharp-desktop-application

STAThread static void Main Lets compile some code I'm lazy so I'll just hardcode it all i'm sure you can work out how to..

How to join int[] to a character separated string in .NET?

http://stackoverflow.com/questions/145856/how-to-join-int-to-a-character-separated-string-in-net

separator buffer.AppendString value j I'm too lazy to compare performance of suggested methods. But something tells..

XDocument or XMLDocument

http://stackoverflow.com/questions/1542073/xdocument-or-xmldocument

than streaming ones although XStreamingElement supports lazy output . XmlReader and XmlWriter are the normal ways of streaming..

Are there good reasons not to use an ORM? [closed]

http://stackoverflow.com/questions/194147/are-there-good-reasons-not-to-use-an-orm

s etc but here I miss the advantage of automatic joins lazy loading proxy classes and a lower maintenance effort if a table..

Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible?

http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a

rs null Stream store null string resourceFileName null lazy load default language without caring about duplicate assignment..

How do I split a string by strings and include the delimiters using .NET?

http://stackoverflow.com/questions/2484919/how-do-i-split-a-string-by-strings-and-include-the-delimiters-using-net

I did some performance checks and compared the results too lazy to formally check them though . The tested solutions are in..

C# Object Pooling Pattern implementation

http://stackoverflow.com/questions/2510975/c-sharp-object-pooling-pattern-implementation

to ever occur. Q What about things like priorities lazy vs. eager loading etc. A There is no prioritization involved.. main settings including Resource loading strategy eager or lazy Resource loading mechanism how to actually construct one Access.. be self explanatory the third is sort of a hybrid it lazy loads resources but doesn't actually start re using any resources..

Identifying NHibernate proxy classes

http://stackoverflow.com/questions/2664245/identifying-nhibernate-proxy-classes

to get the underlying object mostly to work around lazy loading and inheritance http sessionfactory.blogspot.com 2010..

Changing master volume level

http://stackoverflow.com/questions/294292/changing-master-volume-level

When to use ArrayList over array[] in c#?

http://stackoverflow.com/questions/412813/when-to-use-arraylist-over-array-in-c

of a 'normal' array . I feel as if I am cheating or being lazy when I use an ArrayList when is it okay to use an ArrayList..

EF 4.1 - Code First - JSON Circular Reference Serialization Error

http://stackoverflow.com/questions/5588143/ef-4-1-code-first-json-circular-reference-serialization-error

virtual keyword from all navigation properties to disable lazy loading and proxy creation and then use eager loading instead.. post it looks like your application isn't relying on lazy loading anyway because you introduced there the virtual properties.. keyword from the navigation properties which would make lazy loading completely impossible for the model . It's enough to..

Create code first, many to many, with additional fields in association table

http://stackoverflow.com/questions/7050404/create-code-first-many-to-many-with-additional-fields-in-association-table

1 mc.Something 99 .Select mc mc.Comment .ToList Because of lazy loading things might become easier. If you have a loaded Member.. member.MemberComments.Select mc mc.Comment I guess that lazy loading will fetch the comments automatically behind the scenes...

Do you say No to C# Regions? [closed]

http://stackoverflow.com/questions/755465/do-you-say-no-to-c-sharp-regions

of a subroutine Hide malicious or back door code that lazy reviewers don't ask about. 3. Then there are uses that depend..

Entity Framework Code First Lazy Loading

http://stackoverflow.com/questions/11469432/entity-framework-code-first-lazy-loading

Framework Code First Lazy Loading I am having two object classes public class User public.. unless you explicit this using an Include statement Lazy Loading means that entities will be automatically loaded when..

Where clause on collection

http://stackoverflow.com/questions/13903314/where-clause-on-collection

because at this point EF executed relationship fixup. Lazy loading disabled because lazy loading will fully load the navigation..

C# Object Pooling Pattern implementation

http://stackoverflow.com/questions/2510975/c-sharp-object-pooling-pattern-implementation

I've defined three types public enum LoadingMode Eager Lazy LazyExpanding The first two should be self explanatory the third.. defined three types public enum LoadingMode Eager Lazy LazyExpanding The first two should be self explanatory the third.. lock itemStore return itemStore.Fetch private T AcquireLazy lock itemStore if itemStore.Count 0 return itemStore.Fetch..

Deferred execution and eager evaluation

http://stackoverflow.com/questions/2515796/deferred-execution-and-eager-evaluation

fact that he is not totally ok with the MSDN meaning of Lazy as MSDN isn't really clear of what lazy exactly mean when they.. IEnumerable it is when GetEnumerator is called Deferred Lazy mean that the work will be done each time MoveNext is called.. as the computation could be considered deferred Lazy from the point of view of the caller but internally the computation..

Implementation of Lazy<T> for .NET 3.5

http://stackoverflow.com/questions/3207580/implementation-of-lazyt-for-net-3-5

of Lazy T for .NET 3.5 .NET 4.0 has a nice utility class called System.Lazy.. .NET 3.5 .NET 4.0 has a nice utility class called System.Lazy that does lazy object initialization. I would like to use this.. Does someone have an alternative implementation of Lazy It doesn't need all the thread safety features of the framework..

Entity Framework Include() is not working

http://stackoverflow.com/questions/4474951/entity-framework-include-is-not-working

It does not throw a null reference exception when I have Lazy Loading turned on. Edit Include seems to be working when i do..

Why use System.Runtime.Caching or System.Web.Caching Vs static variables?

http://stackoverflow.com/questions/5986466/why-use-system-runtime-caching-or-system-web-caching-vs-static-variables

going to use this approach though you might as well be Lazy and let .NET 4 do the heavy lifting private static Lazy IEnumerable.. be Lazy and let .NET 4 do the heavy lifting private static Lazy IEnumerable Category _allCategories new Lazy IEnumerable Category.. static Lazy IEnumerable Category _allCategories new Lazy IEnumerable Category Db call to populate public static IEnumerable..

Memory barrier generators

http://stackoverflow.com/questions/6581848/memory-barrier-generators

can be fixed with this method Thread.Yield Thread.SpinWait Lazy T depending on which LazyThreadSafetyMode is specified Other.. Thread.Yield Thread.SpinWait Lazy T depending on which LazyThreadSafetyMode is specified Other notable mentions Default..

When should I use Lazy<T>?

http://stackoverflow.com/questions/6847721/when-should-i-use-lazyt

should I use Lazy T I found this article about Lazy Laziness in C# 4.0 Lazy What.. should I use Lazy T I found this article about Lazy Laziness in C# 4.0 Lazy What is the best practice to have best.. Lazy T I found this article about Lazy Laziness in C# 4.0 Lazy What is the best practice to have best performance using Lazy..