This project is read-only.

What is a LazyField?

Nov 9, 2010 at 2:52 AM

Just looking at writing a module and reviewing some code.

I came accross a Lazy field declared on line 7 of /Modules/Orchard.ArchiveLater/Models/ArchiveLaterPart.cs.

I did a search on and found zip.

So what is it?

Nov 9, 2010 at 4:54 AM

It's a fairly common practice that enables the class using it to only evaluate the property value the first time it's required.