public TextController(ITextStore textStore, IGroupStore groupStore, IModelFactory modelFactory) { //_textTempDb = textTempDb; //_groupTempDb = groupTempDb; _textStore = textStore; _groupStore = groupStore; _modelFactory = modelFactory; }
public GroupController(ITextStore textStore, IGroupStore groupStore, IModelFactory modelFactory) { //_tempDbText = textTempDb; //_tempDbGroup = groupTempDb; //_analysisController = analysisController; _textStore = textStore; _groupStore = groupStore; _modelFactory = modelFactory; }
public void Initialize() { _db = new FingerprintLite13Entities(); _modelFactory = new ModelFactory(); _textStore = new TextStore(_db, _modelFactory); _uniqueNames = new ConcurrentStack <string>(); //Assuming we will never need more than 2 text names per method int namesNeeded = 2 * (this.GetType()).GetMethods().Count(); GenerateNames(namesNeeded, _uniqueNames); }
public HttpMachine() { sndTextStore = new TextStore() { Encoding = Encoding.UTF8 }; rcvTextStore = new TextStore() { Encoding = Encoding.UTF8 }; RequestMessage = new HttpRequestMessage(sndTextStore); ResponseMessage = new HttpResponseMessage(rcvTextStore); }
public GroupStore(FingerprintLite13Entities db, IModelFactory modelFactory, ITextStore textStore) { _db = db; _modelFactory = modelFactory; _textStore = textStore; }
public GetAllTextsQueryHandler(ITextStore store) { _store = store; }
public TextManager(ITextStore textStore) { _textStore = textStore; }
public HttpResponseMessage(ITextStore textStore) : base("response", textStore) { }
public void OneTimeSetup() { _store = new TextStore(new TextDbContext(), new TextEntityToTextDtoConverter()); }
public HttpRequestMessage(ITextStore textStore) : base("request", textStore) { }
protected HttpMessage(string name, ITextStore textStore) { Name = name; TextStore = textStore; }
public GetTextQueryHandler(ITextStore store) { _store = store; }
public AddTextCommandHandler(ITextStore store) { _store = store; }