public MongoTodoQueueStore(TodoQueueService director, IConfigSectionNode node) : base(director, node) { var cstring = ConfigStringBuilder.Build(node, CONFIG_MONGO_SECTION); m_Database = App.GetMongoDatabaseFromConnectString(cstring); m_Converter = FactoryUtils.MakeAndConfigure <DataDocConverter>(node[CONFIG_CONVERTER_SECTION], typeof(DataDocConverter)); }
internal TodoQueue(TodoQueueService director, IConfigSectionNode node) : base(director) { ConfigAttribute.Apply(this, node); if (Name.IsNullOrWhiteSpace()) { throw new WorkersException(GetType().Name + ".ctor($name=null|empty)"); } }
protected TodoQueueStore(TodoQueueService director, IConfigSectionNode node) : base(director) { ConfigAttribute.Apply(this, node); }