<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sean Dague wrote:
<blockquote cite="mid:20071211123240.GG3469@dague.net" type="cite">
  <pre wrap="">On Tue, Dec 11, 2007 at 04:06:13PM +0800, Adam Frisby wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Modules & Plugins will need access to this.

Maybe we can make a self-locking property to replace it.

Rename Entities to m_entities, then make:

List<Entity> Entities {
        get {
                lock(m_entities) {
                        return m_entities;
                }
        }
}
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Unless I'm missing some C# special sauce, that isn't going to help.  By
the time you get around to modifying it, it isn't locked any more, as
you've returned out of the block.
  </pre>
</blockquote>
exactly.<br>
<br>
    dirk<br>
<pre class="moz-signature" cols="72">-- 
dr dirk husemann, pervasive computing, ibm zurich research lab
--- <a class="moz-txt-link-abbreviated" href="mailto:hud@zurich.ibm.com">hud@zurich.ibm.com</a> --- +41 44 724 8573 --- SL: dr scofield
</pre>
</body>
</html>