Exemplo n.º 1
0
        public StoreCallbackTextRecipeStepBuilder(IRecipeStepStore store, IRecipeStepBuilder baseBuilder)
        {
            _store = store;

            Id   = new BuilderPropertyImpl <IRecipeStepBuilder, Guid>(this, baseBuilder.Id.Value);
            Text = new BuilderPropertyImpl <ITextRecipeStepBuilder, string>(this);
        }
Exemplo n.º 2
0
        public StoreCallbackBigImageRecipeStepBuilder(IRecipeStepStore store, IRecipeStepBuilder builder)
        {
            _store = store;

            Id          = new BuilderPropertyImpl <IRecipeStepBuilder, Guid>(this, builder.Id.Value);
            ImageLoader = new BuilderPropertyImpl <IBigImageRecipeStepBuilder, string>(this);
            ImageSource = new BuilderPropertyImpl <IBigImageRecipeStepBuilder, string>(this);
        }
Exemplo n.º 3
0
 public SQLiteRecipeStoreBuilder()
 {
     Connection      = new BuilderPropertyImpl <ISQLiteRecipeStoreBuilder, SQLiteAsyncConnection>(this);
     ImageStore      = new BuilderPropertyImpl <ISQLiteRecipeStoreBuilder, IImageStore>(this);
     IngredientStore = new BuilderPropertyImpl <ISQLiteRecipeStoreBuilder, IIngredientStore>(this);
     PictogramStore  = new BuilderPropertyImpl <ISQLiteRecipeStoreBuilder, IPictogramStore>(this);
     StepStore       = new BuilderPropertyImpl <ISQLiteRecipeStoreBuilder, IRecipeStepStore>(this);
 }
Exemplo n.º 4
0
 public SQLiteIngredientStoreBuilder()
 {
     Connection = new BuilderPropertyImpl <ISQLiteIngredientStoreBuilder, SQLiteAsyncConnection>(this);
     ImageStore = new BuilderPropertyImpl <ISQLiteIngredientStoreBuilder, IImageStore>(this);
 }
 public SQLitePictogramStoreBuilder()
 {
     Connection = new BuilderPropertyImpl <ISQLitePictogramStoreBuilder, SQLiteAsyncConnection>(this);
     ImageStore = new BuilderPropertyImpl <ISQLitePictogramStoreBuilder, IImageStore>(this);
 }