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