¡@

Home 

c# Programming Glossary: createvalue

Implementation of Lazy<T> for .NET 3.5

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

readonly object padlock new object private readonly Func T createValue private bool isValueCreated private T value summary Gets the.. isValueCreated lock padlock if isValueCreated value createValue isValueCreated true return value summary Gets a value.. a new instance of the Lazy T class. summary param name createValue The delegate that produces the value when it is needed. param..