private void Load(ImplMap obj) { if (obj == null) { return; } Add(obj.Attributes); Add(obj.Name); Add(obj.Module); }
private void InitializeImplMap() { #if THREAD_SAFE theLock.EnterWriteLock(); try { #endif if (implMap_isInitialized) { return; } implMap = GetImplMap_NoLock(); implMap_isInitialized = true; #if THREAD_SAFE } finally { theLock.ExitWriteLock(); } #endif }