internal SQLiteRecipeStore(SQLiteAsyncConnection connection, IImageStore imageStore, IIngredientStore ingredientStore, IPictogramStore pictogramStore, IRecipeStepStore stepStore) : base(connection, imageStore) { _ingredientStore = ingredientStore; _pictogramStore = pictogramStore; _stepStore = stepStore; // TODO: replace with default image _defaultImage = null; }
public StoreCallbackPictogramBuilder(IPictogramStore pictogramStore) { _pictogramStore = pictogramStore; Id = new BuilderPropertyImpl <IPictogramBuilder, Guid>(this, Guid.NewGuid()); Name = new BuilderPropertyImpl <IPictogramBuilder, string>(this); Description = new BuilderPropertyImpl <IPictogramBuilder, string>(this); ImageLoader = new BuilderPropertyImpl <IPictogramBuilder, string>(this); ImageSource = new BuilderPropertyImpl <IPictogramBuilder, string>(this); }