public virtual TValue this[TKey key] { get { // Provider return(_provider.GetValue(key)); } set { // Provider _provider.Remove(key); _provider.Add(key, value); } }
public void Store(IStoreProvider <TFeature> storage, Bitmap bitmap, string subjectId) { var extract = Extract(ImageProvider.AdaptImage(bitmap)); storage.Add(new Candidate <TFeature> { EntryId = subjectId, Feautures = extract }); }