protected override void Destructor() { lock (s_Lock) { base.Destructor(); s_Instance = null; } }
private TrendingManager() { lock (s_Lock) { if (s_Instance != null) { throw new SocialException(StringConsts.TS_INSTANCE_ALREADY_ALLOCATED_ERROR.Args(GetType().Name)); } s_Instance = this; } }