Closed davidpodhola closed 10 years ago
suggested fix:
private Dictionary<string, PropertyInfo> AutoProperties()
{
lock (typeof(Gemini))
{
if (!PropertyCache.ContainsKey(GetType()))
{
PropertyCache.Add(
GetType(),
PropertiesExcludingPrototype().ToDictionary(s => s.Name));
}
return PropertyCache[GetType()];
}
}
I'll get a patch out today. Good find.
Sent from my iPhone
On Oct 16, 2013, at 4:40 AM, David Podhola notifications@github.com wrote:
suggested fix:
private Dictionary<string, PropertyInfo> AutoProperties() { lock (typeof(Gemini)) { if (!PropertyCache.ContainsKey(GetType())) { PropertyCache.Add( GetType(), PropertiesExcludingPrototype().ToDictionary(s => s.Name)); } return PropertyCache[GetType()]; } }
— Reply to this email directly or view it on GitHub.
Done. Nuget packages pushed too. https://github.com/amirrajan/Oak/commit/9b489509878576572a8d7fdc6570e58baefbb756
On Wed, Oct 16, 2013 at 7:39 AM, Amir Rajan ar@amirrajan.net wrote:
I'll get a patch out today. Good find.
Sent from my iPhone
On Oct 16, 2013, at 4:40 AM, David Podhola notifications@github.com wrote:
suggested fix:
private Dictionary<string, PropertyInfo> AutoProperties() { lock (typeof(Gemini)) { if (!PropertyCache.ContainsKey(GetType())) { PropertyCache.Add( GetType(), PropertiesExcludingPrototype().ToDictionary(s => s.Name)); } return PropertyCache[GetType()]; } }
— Reply to this email directly or view it on GitHubhttps://github.com/amirrajan/Oak/issues/32#issuecomment-26404663 .
Just confirming... Is this issue closed now?
Yes :-)
Sent from my iPhone
On Nov 6, 2013, at 11:05 AM, Tony Kornmeier notifications@github.com wrote:
Just confirming... Is this issue closed now?
— Reply to this email directly or view it on GitHub.