protected override void Destructor() { lock (s_Lock) { base.Destructor(); deleteVolumes(); s_Instance = null; } }
public TrendingSystemService(object director) : base(director) { lock (s_Lock) { if (s_Instance != null) { throw new WebMessagingException(StringConsts.TS_INSTANCE_ALREADY_ALLOCATED_ERROR.Args(GetType().Name)); } m_Volumes = new Registry <Volume>(); s_Instance = this; } }
protected TrendingSystemHost(TrendingSystemService director, IConfigSectionNode config) : base(director) { ConfigAttribute.Apply(this, config); }