コード例 #1
0
        public override void PreCommand(ICommandContext commandContext)
        {
            base.PreCommand(commandContext);

            buildTransaction = CreateTransaction(commandContext.GetOutputObjectsGroups());
            MountDatabases(buildTransaction);
        }
コード例 #2
0
 public ExecuteContext(Builder builder, BuilderContext builderContext, BuildStep buildStep, Logger logger)
 {
     Logger = logger;
     this.builderContext = builderContext;
     this.builder        = builder;
     this.buildStep      = buildStep;
     buildTransaction    = new BuildTransaction(null, buildStep.GetOutputObjectsGroups());
 }
コード例 #3
0
 public ExecuteContext(Builder builder, BuilderContext builderContext, BuildStep buildStep)
 {
     logger = new BuildStepLogger(builder.Logger, builder.startTime);
     this.builderContext = builderContext;
     this.builder        = builder;
     this.buildStep      = buildStep;
     buildTransaction    = new BuildTransaction(buildStep.GetOutputObjectsGroups());
 }
コード例 #4
0
 internal static void MountDatabase(BuildTransaction transaction)
 {
     MicroThreadLocalDatabaseFileProvider.Value = CreateDatabase(transaction);
 }
コード例 #5
0
 private static DatabaseFileProvider CreateDatabase(BuildTransaction transaction)
 {
     return(new DatabaseFileProvider(new BuildTransaction.DatabaseContentIndexMap(transaction), Builder.ObjectDatabase));
 }
コード例 #6
0
        public override void PreCommand(ICommandContext commandContext)
        {
            base.PreCommand(commandContext);

            buildTransaction = CreateTransaction(commandContext.GetOutputObjectsGroups());
            MountDatabase(buildTransaction);
        }
コード例 #7
0
 private static DatabaseFileProvider CreateDatabase(BuildTransaction transaction)
 {
     return new DatabaseFileProvider(new BuildTransaction.DatabaseAssetIndexMap(transaction), ObjectDatabase);
 }
コード例 #8
0
 private static void MountDatabase(BuildTransaction transaction)
 {
     MicroThreadLocalDatabaseFileProvider.Value = CreateDatabase(transaction); 
 }
コード例 #9
0
 private static DatabaseFileProvider CreateDatabases(BuildTransaction transaction)
 {
     return(new DatabaseFileProvider(new BuildTransaction.DatabaseAssetIndexMap(transaction), ObjectDatabase));
 }
コード例 #10
0
 public DatabaseAssetIndexMap(BuildTransaction buildTransaction)
 {
     this.buildTransaction = buildTransaction;
 }
コード例 #11
0
 private static void MountDatabases(BuildTransaction transaction)
 {
     DatabaseFileProvider.Value = CreateDatabases(transaction);
 }
コード例 #12
0
 public DatabaseAssetIndexMap(BuildTransaction buildTransaction)
 {
     this.buildTransaction = buildTransaction;
 }
コード例 #13
0
 public DatabaseContentIndexMap(BuildTransaction buildTransaction)
 {
     this.buildTransaction = buildTransaction;
 }
コード例 #14
0
ファイル: Builder.cs プロジェクト: cg123/xenko
 public ExecuteContext(Builder builder, BuilderContext builderContext, BuildStep buildStep)
 {
     Logger = new BuildStepLogger(buildStep, builder.Logger, builder.startTime);
     this.builderContext = builderContext;
     this.builder = builder;
     this.buildStep = buildStep;
     buildTransaction = new BuildTransaction(null, buildStep.GetOutputObjectsGroups());
 }
コード例 #15
0
ファイル: Builder.cs プロジェクト: Kryptos-FR/xenko-reloaded
 public ExecuteContext(Builder builder, BuilderContext builderContext, BuildStep buildStep, Logger logger)
 {
     Logger = logger;
     this.builderContext = builderContext;
     this.builder = builder;
     this.buildStep = buildStep;
     buildTransaction = new BuildTransaction(null, buildStep.GetOutputObjectsGroups());
 }
コード例 #16
0
 public DatabaseContentIndexMap(BuildTransaction buildTransaction)
 {
     this.buildTransaction = buildTransaction;
 }