Example #1
0
 protected override void Destructor()
 {
     lock (s_Lock)
     {
         base.Destructor();
         s_Instance = null;
     }
 }
Example #2
0
 public GraphSystemService(object director) : base(director)
 {
     lock (s_Lock)
     {
         if (s_Instance != null)
         {
             throw new WebMessagingException(StringConsts.GS_INSTANCE_ALREADY_ALLOCATED_ERROR.Args(GetType().Name));
         }
         s_Instance = this;
     }
 }
Example #3
0
 public GraphCommentFetchDefaultStrategy(GraphSystemService graphSystemService, IConfigSectionNode config)
 {
     m_GraphSystemService = graphSystemService;
     m_ConfigNode         = config;
     ConfigAttribute.Apply(this, config);
 }