Ejemplo n.º 1
0
        public RebuildRunner(Rebuilder rebuilder, IOptions <RebuildOptions> rebuildOptions)
        {
            Guard.NotNull(rebuilder, nameof(rebuilder));
            Guard.NotNull(rebuildOptions, nameof(rebuildOptions));

            this.rebuilder      = rebuilder;
            this.rebuildOptions = rebuildOptions.Value;
        }
Ejemplo n.º 2
0
        public RebuildRunner(Rebuilder rebuilder, IOptions <RebuildOptions> rebuildOptions, PopulateGrainIndexes populateGrainIndexes)
        {
            Guard.NotNull(rebuilder);
            Guard.NotNull(rebuildOptions);
            Guard.NotNull(populateGrainIndexes);

            this.rebuilder            = rebuilder;
            this.rebuildOptions       = rebuildOptions.Value;
            this.populateGrainIndexes = populateGrainIndexes;
        }
Ejemplo n.º 3
0
 public Migration04_FlattenAssetEntity(Rebuilder rebuilder)
 {
     this.rebuilder = rebuilder;
 }
Ejemplo n.º 4
0
 public static Task RebuildContentAsync(this Rebuilder rebuilder, CancellationToken ct = default)
 {
     return(rebuilder.RebuildAsync <ContentState, ContentGrain>("^content\\-", ct));
 }
Ejemplo n.º 5
0
 public static Task RebuildAssetsAsync(this Rebuilder rebuilder, CancellationToken ct = default)
 {
     return(rebuilder.RebuildAsync <AssetState, AssetGrain>("^asset\\-", ct));
 }
Ejemplo n.º 6
0
 public static Task RebuildRulesAsync(this Rebuilder rebuilder, CancellationToken ct = default)
 {
     return(rebuilder.RebuildAsync <RuleState, RuleGrain>("^rule\\-", ct));
 }
Ejemplo n.º 7
0
 public static Task RebuildSchemasAsync(this Rebuilder rebuilder, CancellationToken ct = default)
 {
     return(rebuilder.RebuildAsync <SchemaState, SchemaGrain>("^schema\\-", ct));
 }
Ejemplo n.º 8
0
 public static Task RebuildAppsAsync(this Rebuilder rebuilder, CancellationToken ct = default)
 {
     return(rebuilder.RebuildAsync <AppState, AppGrain>("^app\\-", ct));
 }
Ejemplo n.º 9
0
 public static Task RebuildAssetFoldersAsync(this Rebuilder rebuilder, CancellationToken ct = default)
 {
     return(rebuilder.RebuildAsync <AssetFolderDomainObject, AssetFolderState>("^assetfolder\\-", ct));
 }
Ejemplo n.º 10
0
 public RebuildAssets(Rebuilder rebuilder)
 {
     this.rebuilder = rebuilder;
 }
 public Migration03_SplitContentCollections(Rebuilder rebuilder)
 {
     this.rebuilder = rebuilder;
 }
Ejemplo n.º 12
0
 public Migration01_FromCqrs(Rebuilder rebuilder)
 {
     this.rebuilder = rebuilder;
 }