public ExGatherTag() { this.beforeGatherGpRegenStrategy = new BeforeGatherGpRegenStrategy( this.CordialStock, new BeforeGatherGpRegenStrategyLogger( this.Logger, new GathererLogger(this.Logger), new GpRegeneratorLogger(this.Logger), new CordialConsumerLogger(this.Logger), new ProfileBehaviorLogger(this) ) ); this.afterGatherGpRegenStrategy = new AfterGatherGpRegenStrategy( this.CordialStock, new CordialConsumerLogger(this.Logger) ); if (Rotations == null) { lock (Lock) { if (Rotations == null) { Rotations = LoadRotationTypes(); } } } }
/// <summary> /// Logs the strategy status report /// </summary> public void LogReport(IGpRegenStrategy strategy) { this.logger.Info(strategy.ToString()); }