public MongoProcessStore(ProcessControllerService director, IConfigSectionNode node) : base(director, node) { var cstring = ConfigStringBuilder.Build(node, CONFIG_MONGO_SECTION); m_Database = MongoClient.DatabaseFromConnectString(cstring); m_Converter = FactoryUtils.MakeAndConfigure <RowConverter>(node[CONFIG_CONVERTER_SECTION], typeof(RowConverter)); }
public ProcessControllerService(object director) : base(director) { LogLevel = MessageType.Error; lock (s_Lock) { if (s_Instance != null) { throw new WorkersException("{0} is already allocated".Args(typeof(ProcessControllerService).FullName)); } s_Instance = this; } }
protected override void Destructor() { base.Destructor(); DisposeAndNull(ref m_ProcessStore); s_Instance = null; }
protected ProcessStore(ProcessControllerService director, IConfigSectionNode node) : base(director) { ConfigAttribute.Apply(this, node); }