/// <summary> /// Called when a garbage collection run segment has been initialized. /// </summary> /// <param name="args">The event data.</param> public override void OnGarbageCollectionInitialized( IGarbageCollectionInitializedArgs args) { this.entityCount = args.Count; this.entitiesDeleted = 0; this.lastRefreshDateTime = DateTime.Now; this.PrintVariableCountOutcome( args.Count, Resources.EntityIdentified, Resources.EntitiesIdentifiedFormat); if (this.entityCount > 0) { this.PrintEntityDeletionProgressLabel(); } }
/// <summary> /// Called when a garbage collection run segment has been initialized. /// </summary> /// <param name="args">The event data.</param> public virtual void OnGarbageCollectionInitialized( IGarbageCollectionInitializedArgs args) { }
/// <summary> /// Called when a garbage collection run segment has been initialized. /// </summary> /// <param name="args">The event data.</param> void IEventReceiver <IGarbageCollectionInitializedArgs> .Occurred( IGarbageCollectionInitializedArgs args) { this.OnGarbageCollectionInitialized(args); }
/// <summary> /// To be called when a garbage collection run segment has been initialized. /// </summary> /// <param name="args">The event data.</param> public void GarbageCollectionInitialized(IGarbageCollectionInitializedArgs args) { this.Dispatch(args); }