public void ActivatePrototypeMap(int maxPrototypeId) { PrototypeValues values = new PrototypeValues (this, maxPrototypeId); lock (this) { if (prototypeValues != null) throw new ApplicationException (); prototypeValues = values; } }
public void ActivatePrototypeMap(int maxPrototypeId) { PrototypeValues values = new PrototypeValues(this, maxPrototypeId); lock (this) { if (prototypeValues != null) { throw new ApplicationException(); } prototypeValues = values; } }