Exemple #1
0
 protected override void Destructor()
 {
     lock (s_Lock)
     {
         base.Destructor();
         deleteVolumes();
         s_Instance = null;
     }
 }
Exemple #2
0
        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;
            }
        }
Exemple #3
0
 protected TrendingSystemHost(TrendingSystemService director, IConfigSectionNode config) : base(director)
 {
     ConfigAttribute.Apply(this, config);
 }